diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-31 21:48:12 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-31 21:48:12 -0700 |
commit | ba4962d7a6a10c82e55c14589d4ec635bef8446f (patch) | |
tree | 9fde59562290d73157d7b8bcfcfd5015a6ecd276 /arch/sparc64/kernel/entry.h | |
parent | 5110bd21b8af4199b8332c0ab0b23367556653d3 (diff) | |
download | kernel_samsung_tuna-ba4962d7a6a10c82e55c14589d4ec635bef8446f.zip kernel_samsung_tuna-ba4962d7a6a10c82e55c14589d4ec635bef8446f.tar.gz kernel_samsung_tuna-ba4962d7a6a10c82e55c14589d4ec635bef8446f.tar.bz2 |
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 2255244..34d7ab5 100644 --- a/arch/sparc64/kernel/entry.h +++ b/arch/sparc64/kernel/entry.h @@ -5,8 +5,8 @@ #include <linux/types.h> #include <linux/init.h> -extern char *sparc_cpu_type; -extern char *sparc_fpu_type; +extern const char *sparc_cpu_type; +extern const char *sparc_fpu_type; extern void __init per_cpu_patch(void); extern void __init sun4v_patch(void); |