projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d82ace7
)
[SPARC64]: Print ARCH as SUN4V when tlb_type is hypervisor.
author
David S. Miller
<davem@sunset.davemloft.net>
Thu, 9 Feb 2006 10:54:54 +0000
(
02:54
-0800)
committer
David 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
patch
|
blob
|
history
diff --git
a/arch/sparc64/kernel/setup.c
b/arch/sparc64/kernel/setup.c
index 7f02c8f71df69bf81c99da1407dcfce2e15b1baf..cec921f6cdbf33bf156936ca96beccaa4fc00343 100644
(file)
--- 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;