diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-02-12 20:12:01 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-02-14 22:30:20 (GMT) |
commit | 7bfeab9af95565e38a97fbcfb631e5b140241187 (patch) | |
tree | 1894ef2da0b9a5c6e2bc4b9e21a6cfcb515474df /arch/x86/mm | |
parent | 184652eb6f68050af48a2ce3d5cf0537c208bee2 (diff) | |
download | linux-7bfeab9af95565e38a97fbcfb631e5b140241187.tar.xz |
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')
-rw-r--r-- | arch/x86/mm/init_32.c | 1 | ||||
-rw-r--r-- | arch/x86/mm/init_64.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c index 8106bba..ee1091a 100644 --- a/arch/x86/mm/init_32.c +++ b/arch/x86/mm/init_32.c @@ -47,6 +47,7 @@ #include <asm/sections.h> #include <asm/paravirt.h> #include <asm/setup.h> +#include <asm/cacheflush.h> unsigned int __VMALLOC_RESERVE = 128 << 20; diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index b59fc23..a4a9ccc 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); |