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>
This commit is contained in:
committed by
Thomas Gleixner
parent
968cbfad1a
commit
311f834948
@@ -357,7 +357,7 @@ int dma_supported(struct device *dev, u64 mask)
|
|||||||
EXPORT_SYMBOL(dma_supported);
|
EXPORT_SYMBOL(dma_supported);
|
||||||
|
|
||||||
/* Allocate DMA memory on node near device */
|
/* 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)
|
dma_alloc_pages(struct device *dev, gfp_t gfp, unsigned order)
|
||||||
{
|
{
|
||||||
int node;
|
int node;
|
||||||
|
Reference in New Issue
Block a user