From: David S. Miller Date: Thu, 9 Feb 2006 10:54:54 +0000 (-0800) Subject: [SPARC64]: Print ARCH as SUN4V when tlb_type is hypervisor. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3a8c069d0eea936c2fe3637ab62967af31555ee9;p=openwrt%2Fstaging%2Fblogic.git [SPARC64]: Print ARCH as SUN4V when tlb_type is hypervisor. Signed-off-by: David S. Miller --- 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;