aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/entry.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-09-01 00:48:12 -0400
committerDavid S. Miller <davem@davemloft.net>2008-09-01 00:48:12 -0400
commitba4962d7a6a10c82e55c14589d4ec635bef8446f (patch)
tree9fde59562290d73157d7b8bcfcfd5015a6ecd276 /arch/sparc64/kernel/entry.h
parent5110bd21b8af4199b8332c0ab0b23367556653d3 (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.h4
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
8extern char *sparc_cpu_type; 8extern const char *sparc_cpu_type;
9extern char *sparc_fpu_type; 9extern const char *sparc_fpu_type;
10 10
11extern void __init per_cpu_patch(void); 11extern void __init per_cpu_patch(void);
12extern void __init sun4v_patch(void); 12extern void __init sun4v_patch(void);