From: Adrian Bunk Date: Mon, 12 May 2008 13:43:37 +0000 (+0200) Subject: x86: kernel/pci-dma.c cleanups X-Git-Tag: MMI-PSA29.97-13-9~33451^2~8^4~63 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=311f83494830fec17f086401a5b43984bb447cd2;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- 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) 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;