aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc64/kernel/setup.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2005-05-24 18:08:07 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2005-05-24 18:08:07 -0700
commit6df16d0c35b9c0d3627f30c106e6142d3d12662b (patch)
tree40b6208b97f200b91b268f69e81bf074236e2410 /arch/sparc64/kernel/setup.c
parent7e43c84e3e5423ae72ae31e4cd7bbccfd1605194 (diff)
parent816242da3735957bee99aeba40aa60c4f120a101 (diff)
Merge of davem@nuts.davemloft.net:/disk1/GIT/sparc-2.6/.git/
Diffstat (limited to 'arch/sparc64/kernel/setup.c')
-rw-r--r--arch/sparc64/kernel/setup.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/setup.c b/arch/sparc64/kernel/setup.c
index 12c3d84b746..b7e6a91952b 100644
--- a/arch/sparc64/kernel/setup.c
+++ b/arch/sparc64/kernel/setup.c
@@ -383,6 +383,17 @@ static void __init process_switch(char c)
/* Use PROM debug console. */
register_console(&prom_debug_console);
break;
+ case 'P':
+ /* Force UltraSPARC-III P-Cache on. */
+ if (tlb_type != cheetah) {
+ printk("BOOT: Ignoring P-Cache force option.\n");
+ break;
+ }
+ cheetah_pcache_forced_on = 1;
+ add_taint(TAINT_MACHINE_CHECK);
+ cheetah_enable_pcache();
+ break;
+
default:
printk("Unknown boot switch (-%c)\n", c);
break;