aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/pci-dma.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-05-12 09:43:37 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-25 02:58:28 -0400
commit311f83494830fec17f086401a5b43984bb447cd2 (patch)
tree56e2b134b46342256a50b62c0f89532e9d0d0c6a /arch/x86/kernel/pci-dma.c
parent968cbfad1a727b5689ae620f4d970abf6ce73340 (diff)
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: Adrian Bunk <bunk@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/pci-dma.c')
-rw-r--r--arch/x86/kernel/pci-dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c
index c5ef1af8e79d..5bc29ca4196e 100644
--- a/arch/x86/kernel/pci-dma.c
+++ b/arch/x86/kernel/pci-dma.c
@@ -357,7 +357,7 @@ int dma_supported(struct device *dev, u64 mask)
357EXPORT_SYMBOL(dma_supported); 357EXPORT_SYMBOL(dma_supported);
358 358
359/* Allocate DMA memory on node near device */ 359/* Allocate DMA memory on node near device */
360noinline struct page * 360static noinline struct page *
361dma_alloc_pages(struct device *dev, gfp_t gfp, unsigned order) 361dma_alloc_pages(struct device *dev, gfp_t gfp, unsigned order)
362{ 362{
363 int node; 363 int node;