summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/setup.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-09 11:54:54 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 10:12:04 +0100
commit3a8c069d0eea936c2fe3637ab62967af31555ee9 (patch)
treecd8c749c11a8830520c95178d7520f1dd9718b5a /arch/sparc64/kernel/setup.c
parent[SPARC64]: Detect sun4v early in boot process. (diff)
downloadlinux-3a8c069d0eea936c2fe3637ab62967af31555ee9.tar.xz
linux-3a8c069d0eea936c2fe3637ab62967af31555ee9.zip
[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.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;