summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-09 13:54:54 +0300
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 12:12:04 +0300
commit3a8c069d0eea936c2fe3637ab62967af31555ee9 (patch)
treecd8c749c11a8830520c95178d7520f1dd9718b5a
parentd82ace7dc4073b090a55b9740700e32b9a9ae302 (diff)
downloadlinux-3a8c069d0eea936c2fe3637ab62967af31555ee9.tar.xz
[SPARC64]: Print ARCH as SUN4V when tlb_type is hypervisor.
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--arch/sparc64/kernel/setup.c5
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)
*cmdline_p = prom_getbootargs();
strcpy(saved_command_line, *cmdline_p);
- printk("ARCH: SUN4U\n");
+ if (tlb_type == hypervisor)
+ printk("ARCH: SUN4V\n");
+ else
+ printk("ARCH: SUN4U\n");
#ifdef CONFIG_DUMMY_CONSOLE
conswitchp = &dummy_con;