aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/entry.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2008-12-07 03:02:08 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-07 03:02:08 -0500
commit53ae341926b1238af3170f2f306f52a22430776c (patch)
tree6880ddd6b7e0e6bb317f05c1c2700c8f7ed0a445 /arch/sparc/kernel/entry.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/entry.h')
-rw-r--r--arch/sparc/kernel/entry.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sparc/kernel/entry.h b/arch/sparc/kernel/entry.h
index 34d7ab5e10d2..a9ab19aa0411 100644
--- a/arch/sparc/kernel/entry.h
+++ b/arch/sparc/kernel/entry.h
@@ -5,9 +5,6 @@
5#include <linux/types.h> 5#include <linux/types.h>
6#include <linux/init.h> 6#include <linux/init.h>
7 7
8extern const char *sparc_cpu_type;
9extern const char *sparc_fpu_type;
10
11extern void __init per_cpu_patch(void); 8extern void __init per_cpu_patch(void);
12extern void __init sun4v_patch(void); 9extern void __init sun4v_patch(void);
13extern void __init boot_cpu_id_too_large(int cpu); 10extern void __init boot_cpu_id_too_large(int cpu);