diff options
author | David S. Miller <davem@davemloft.net> | 2008-09-01 00:48:12 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-01 00:48:12 -0400 |
commit | ba4962d7a6a10c82e55c14589d4ec635bef8446f (patch) | |
tree | 9fde59562290d73157d7b8bcfcfd5015a6ecd276 /arch/sparc64/kernel/entry.h | |
parent | 5110bd21b8af4199b8332c0ab0b23367556653d3 (diff) |
sparc64: Clean up CPU chip type probing code.
Three main things:
1) Make prober an arch initcall instead of using hard-coded invocation
from paging_init()
2) Shrink table size, the fpu ident stuff was never used.
3) Use named struct initialized in table.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/entry.h')
-rw-r--r-- | arch/sparc64/kernel/entry.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/entry.h b/arch/sparc64/kernel/entry.h index 2255244442f8..34d7ab5e10d2 100644 --- a/arch/sparc64/kernel/entry.h +++ b/arch/sparc64/kernel/entry.h | |||
@@ -5,8 +5,8 @@ | |||
5 | #include <linux/types.h> | 5 | #include <linux/types.h> |
6 | #include <linux/init.h> | 6 | #include <linux/init.h> |
7 | 7 | ||
8 | extern char *sparc_cpu_type; | 8 | extern const char *sparc_cpu_type; |
9 | extern char *sparc_fpu_type; | 9 | extern const char *sparc_fpu_type; |
10 | 10 | ||
11 | extern void __init per_cpu_patch(void); | 11 | extern void __init per_cpu_patch(void); |
12 | extern void __init sun4v_patch(void); | 12 | extern void __init sun4v_patch(void); |