summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/test_rodata.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-02-12 12:12:01 -0800
committerIngo Molnar <mingo@elte.hu>2008-02-14 23:30:20 +0100
commit7bfeab9af95565e38a97fbcfb631e5b140241187 (patch)
tree1894ef2da0b9a5c6e2bc4b9e21a6cfcb515474df /arch/x86/kernel/test_rodata.c
parent184652eb6f68050af48a2ce3d5cf0537c208bee2 (diff)
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/kernel/test_rodata.c')
-rw-r--r--arch/x86/kernel/test_rodata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/test_rodata.c b/arch/x86/kernel/test_rodata.c
index 4c163772000e..c29e235792af 100644
--- a/arch/x86/kernel/test_rodata.c
+++ b/arch/x86/kernel/test_rodata.c
@@ -10,8 +10,8 @@
* of the License.
*/
#include <linux/module.h>
+#include <asm/cacheflush.h>
#include <asm/sections.h>
-extern int rodata_test_data;
int rodata_test(void)
{