summaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/init_64.c
diff options
context:
space:
mode:
authorHarvey Harrison2008-02-12 21:12:01 +0100
committerIngo Molnar2008-02-14 23:30:20 +0100
commit7bfeab9af95565e38a97fbcfb631e5b140241187 (patch)
tree1894ef2da0b9a5c6e2bc4b9e21a6cfcb515474df /arch/x86/mm/init_64.c
parentx86: fix gart_iommu_init() (diff)
downloadkernel-qcow2-linux-7bfeab9af95565e38a97fbcfb631e5b140241187.tar.gz
kernel-qcow2-linux-7bfeab9af95565e38a97fbcfb631e5b140241187.tar.xz
kernel-qcow2-linux-7bfeab9af95565e38a97fbcfb631e5b140241187.zip
x86: include proper prototypes for rodata_test
extern should not appear in C files. Also, the definitions do not match the prototype currently, not sure what way you want to go with this, I've switched the prototype to return int, but I can see going to the void return as well. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm/init_64.c')
-rw-r--r--arch/x86/mm/init_64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index b59fc238151f..a4a9cccdd4f2 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -45,6 +45,7 @@
#include <asm/sections.h>
#include <asm/kdebug.h>
#include <asm/numa.h>
+#include <asm/cacheflush.h>
const struct dma_mapping_ops *dma_ops;
EXPORT_SYMBOL(dma_ops);