projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
968cbfa
)
x86: kernel/pci-dma.c cleanups
author
Adrian Bunk
<bunk@kernel.org>
Mon, 12 May 2008 13:43:37 +0000
(15:43 +0200)
committer
Thomas Gleixner
<tglx@linutronix.de>
Sun, 25 May 2008 06:58:28 +0000
(08:58 +0200)
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>
arch/x86/kernel/pci-dma.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/pci-dma.c
b/arch/x86/kernel/pci-dma.c
index c5ef1af8e79de6883b005cfa99d59bb9164e978c..5bc29ca4196e6b626320c69b9c811dec5ed40dde 100644
(file)
--- 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;