diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-09 02:54:54 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 01:12:04 -0800 |
commit | 3a8c069d0eea936c2fe3637ab62967af31555ee9 (patch) | |
tree | cd8c749c11a8830520c95178d7520f1dd9718b5a | |
parent | d82ace7dc4073b090a55b9740700e32b9a9ae302 (diff) | |
download | op-kernel-dev-3a8c069d0eea936c2fe3637ab62967af31555ee9.zip op-kernel-dev-3a8c069d0eea936c2fe3637ab62967af31555ee9.tar.gz |
[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.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/setup.c b/arch/sparc64/kernel/setup.c index 7f02c8f..cec921f 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; |