Commit 311f8349 authored by Adrian Bunk's avatar Adrian Bunk Committed by Thomas Gleixner

x86: kernel/pci-dma.c cleanups

This patch contains the following cleanups:
- make the following needlessly global code static:
  - dma_alloc_pages()
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 968cbfad
......@@ -357,7 +357,7 @@ int dma_supported(struct device *dev, u64 mask)
EXPORT_SYMBOL(dma_supported);
/* Allocate DMA memory on node near device */
noinline struct page *
static noinline struct page *
dma_alloc_pages(struct device *dev, gfp_t gfp, unsigned order)
{
int node;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment