summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/kernel.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2008-12-07 00:02:08 -0800
committerDavid S. Miller <davem@davemloft.net>2008-12-07 00:02:08 -0800
commit53ae341926b1238af3170f2f306f52a22430776c (patch)
tree6880ddd6b7e0e6bb317f05c1c2700c8f7ed0a445 /arch/sparc/kernel/kernel.h
parent7e7e93a22851f7bf0cbb7cd70878ebd811e4a044 (diff)
sparc: fix sparse warnings in cpu_*.c
o declare variables from cpu_*.c o declare function from cpu_32.c To do this introduce a new header "kernel.h" which is local to kernel/ Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/kernel.h')
-rw-r--r--arch/sparc/kernel/kernel.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sparc/kernel/kernel.h b/arch/sparc/kernel/kernel.h
new file mode 100644
index 000000000000..7f02aad2e1ab
--- /dev/null
+++ b/arch/sparc/kernel/kernel.h
@@ -0,0 +1,8 @@
+/* cpu.c */
+extern const char *sparc_cpu_type;
+extern const char *sparc_fpu_type;
+
+extern unsigned int fsr_storage;
+
+extern void cpu_probe(void);
+