aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/smp.c
diff options
context:
space:
mode:
authorKyle McMartin <kyle@mcmartin.ca>2007-10-18 03:04:56 -0400
committerKyle McMartin <kyle@shortfin.cabal.ca>2007-10-18 03:59:31 -0400
commit6cc4525d29e22ab831387b6fac371e0118693a25 (patch)
tree7a748cfdcaf540e31682ed6c50dbdfc6f18bc42b /arch/parisc/kernel/smp.c
parent873d50e2e56741406ff9d68c275f0c560e896a80 (diff)
[PARISC] Kill off broken irqstack code
It's been unfinished and broken long enough, and I have some ideas on how to do it more cleanly. Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'arch/parisc/kernel/smp.c')
-rw-r--r--arch/parisc/kernel/smp.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/parisc/kernel/smp.c b/arch/parisc/kernel/smp.c
index d7bc7bb42c94..85fc7754ec25 100644
--- a/arch/parisc/kernel/smp.c
+++ b/arch/parisc/kernel/smp.c
@@ -432,22 +432,10 @@ smp_cpu_init(int cpunum)
432void __init smp_callin(void) 432void __init smp_callin(void)
433{ 433{
434 int slave_id = cpu_now_booting; 434 int slave_id = cpu_now_booting;
435#if 0
436 void *istack;
437#endif
438 435
439 smp_cpu_init(slave_id); 436 smp_cpu_init(slave_id);
440 preempt_disable(); 437 preempt_disable();
441 438
442#if 0 /* NOT WORKING YET - see entry.S */
443 istack = (void *)__get_free_pages(GFP_KERNEL,ISTACK_ORDER);
444 if (istack == NULL) {
445 printk(KERN_CRIT "Failed to allocate interrupt stack for cpu %d\n",slave_id);
446 BUG();
447 }
448 mtctl(istack,31);
449#endif
450
451 flush_cache_all_local(); /* start with known state */ 439 flush_cache_all_local(); /* start with known state */
452 flush_tlb_all_local(NULL); 440 flush_tlb_all_local(NULL);
453 441