summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/smp.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2006-02-01 03:32:29 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 10:11:20 +0100
commit96c6e0d8e2a0eb1338751598be47fa1ffed91704 (patch)
tree7174ae7f5c052b8312549860c3a978babc1394ce /arch/sparc64/kernel/smp.c
parent[SPARC64]: Preload TSB entries from update_mmu_cache(). (diff)
downloadlinux-96c6e0d8e2a0eb1338751598be47fa1ffed91704.tar.xz
linux-96c6e0d8e2a0eb1338751598be47fa1ffed91704.zip
[SPARC64]: Kill {save,restore}_alternate_globals()
No longer needed now that we no longer have hard-coded alternate global register usage. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/smp.c')
-rw-r--r--arch/sparc64/kernel/smp.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/sparc64/kernel/smp.c b/arch/sparc64/kernel/smp.c
index 3c14b549cf91..d030c311cfee 100644
--- a/arch/sparc64/kernel/smp.c
+++ b/arch/sparc64/kernel/smp.c
@@ -940,24 +940,19 @@ void smp_release(void)
* can service tlb flush xcalls...
*/
extern void prom_world(int);
-extern void save_alternate_globals(unsigned long *);
-extern void restore_alternate_globals(unsigned long *);
+
void smp_penguin_jailcell(int irq, struct pt_regs *regs)
{
- unsigned long global_save[24];
-
clear_softint(1 << irq);
preempt_disable();
__asm__ __volatile__("flushw");
- save_alternate_globals(global_save);
prom_world(1);
atomic_inc(&smp_capture_registry);
membar_storeload_storestore();
while (penguins_are_doing_time)
rmb();
- restore_alternate_globals(global_save);
atomic_dec(&smp_capture_registry);
prom_world(0);