diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-12-07 03:02:08 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-07 03:02:08 -0500 |
commit | 53ae341926b1238af3170f2f306f52a22430776c (patch) | |
tree | 6880ddd6b7e0e6bb317f05c1c2700c8f7ed0a445 /arch/sparc/kernel/entry.h | |
parent | 7e7e93a22851f7bf0cbb7cd70878ebd811e4a044 (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.h | 3 |
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 | ||
8 | extern const char *sparc_cpu_type; | ||
9 | extern const char *sparc_fpu_type; | ||
10 | |||
11 | extern void __init per_cpu_patch(void); | 8 | extern void __init per_cpu_patch(void); |
12 | extern void __init sun4v_patch(void); | 9 | extern void __init sun4v_patch(void); |
13 | extern void __init boot_cpu_id_too_large(int cpu); | 10 | extern void __init boot_cpu_id_too_large(int cpu); |