aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/mm
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-05-02 13:27:06 -0400
committerAndi Kleen <andi@basil.nowhere.org>2007-05-02 13:27:06 -0400
commite65845045588806fa5c8df8a4f4253516515a5e3 (patch)
tree7c94861cdb639c528c93aa091968a1b9f617dbaf /arch/x86_64/mm
parent19d1743315099665db4ce02c9942507a5ee1deea (diff)
[PATCH] x86-64: dma_ops as const
The dma_ops structure can be const since it never changes after boot. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/x86_64/mm')
-rw-r--r--arch/x86_64/mm/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/mm/init.c b/arch/x86_64/mm/init.c
index ec31534eb104..5ca61731f550 100644
--- a/arch/x86_64/mm/init.c
+++ b/arch/x86_64/mm/init.c
@@ -46,7 +46,7 @@
46#define Dprintk(x...) 46#define Dprintk(x...)
47#endif 47#endif
48 48
49struct dma_mapping_ops* dma_ops; 49const struct dma_mapping_ops* dma_ops;
50EXPORT_SYMBOL(dma_ops); 50EXPORT_SYMBOL(dma_ops);
51 51
52static unsigned long dma_reserve __initdata; 52static unsigned long dma_reserve __initdata;