Browse Source

[SPARC64]: Print ARCH as SUN4V when tlb_type is hypervisor.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 19 years ago
parent
commit
3a8c069d0e
1 changed files with 4 additions and 1 deletions
  1. 4 1
      arch/sparc64/kernel/setup.c

+ 4 - 1
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;