diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-09 05:54:54 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 04:12:04 -0500 |
commit | 3a8c069d0eea936c2fe3637ab62967af31555ee9 (patch) | |
tree | cd8c749c11a8830520c95178d7520f1dd9718b5a /arch/sparc64/kernel/setup.c | |
parent | d82ace7dc4073b090a55b9740700e32b9a9ae302 (diff) |
[SPARC64]: Print ARCH as SUN4V when tlb_type is hypervisor.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/setup.c')
-rw-r--r-- | arch/sparc64/kernel/setup.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/setup.c b/arch/sparc64/kernel/setup.c index 7f02c8f71df6..cec921f6cdbf 100644 --- a/arch/sparc64/kernel/setup.c +++ b/arch/sparc64/kernel/setup.c | |||
@@ -597,7 +597,10 @@ void __init setup_arch(char **cmdline_p) | |||
597 | *cmdline_p = prom_getbootargs(); | 597 | *cmdline_p = prom_getbootargs(); |
598 | strcpy(saved_command_line, *cmdline_p); | 598 | strcpy(saved_command_line, *cmdline_p); |
599 | 599 | ||
600 | printk("ARCH: SUN4U\n"); | 600 | if (tlb_type == hypervisor) |
601 | printk("ARCH: SUN4V\n"); | ||
602 | else | ||
603 | printk("ARCH: SUN4U\n"); | ||
601 | 604 | ||
602 | #ifdef CONFIG_DUMMY_CONSOLE | 605 | #ifdef CONFIG_DUMMY_CONSOLE |
603 | conswitchp = &dummy_con; | 606 | conswitchp = &dummy_con; |