]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
[SPARC64]: Print ARCH as SUN4V when tlb_type is hypervisor.
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 9 Feb 2006 10:54:54 +0000 (02:54 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:12:04 +0000 (01:12 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/setup.c

index 7f02c8f71df69bf81c99da1407dcfce2e15b1baf..cec921f6cdbf33bf156936ca96beccaa4fc00343 100644 (file)
@@ -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;