Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9897
b: refs/heads/master
c: b4d1b82
h: refs/heads/master
i:
  9895: adc0c52
v: v3
  • Loading branch information
David S. Miller committed Oct 14, 2005
1 parent 6d06e2d commit 1e7f899
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 36 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f75884d28a6eae5a422d0454b982da3842f777af
refs/heads/master: b4d1b825785847cddee6d104113da913f2ca8efb
7 changes: 0 additions & 7 deletions trunk/arch/sparc64/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1001,13 +1001,6 @@ void smp_penguin_jailcell(int irq, struct pt_regs *regs)
preempt_enable();
}

extern unsigned long xcall_promstop;

void smp_promstop_others(void)
{
smp_cross_call(&xcall_promstop, 0, 0, 0);
}

#define prof_multiplier(__cpu) cpu_data(__cpu).multiplier
#define prof_counter(__cpu) cpu_data(__cpu).counter

Expand Down
16 changes: 0 additions & 16 deletions trunk/arch/sparc64/mm/ultra.S
Original file line number Diff line number Diff line change
Expand Up @@ -453,22 +453,6 @@ xcall_flush_dcache_page_spitfire: /* %g1 == physical page address
nop
nop

.globl xcall_promstop
xcall_promstop:
rdpr %pstate, %g2
wrpr %g2, PSTATE_IG | PSTATE_AG, %pstate
rdpr %pil, %g2
wrpr %g0, 15, %pil
sethi %hi(109f), %g7
b,pt %xcc, etrap_irq
109: or %g7, %lo(109b), %g7
flushw
call prom_stopself
nop
/* We should not return, just spin if we do... */
1: b,a,pt %xcc, 1b
nop

.data

errata32_hwbug:
Expand Down
12 changes: 0 additions & 12 deletions trunk/arch/sparc64/prom/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,30 +68,18 @@ void prom_cmdline(void)
local_irq_restore(flags);
}

#ifdef CONFIG_SMP
extern void smp_promstop_others(void);
#endif

/* Drop into the prom, but completely terminate the program.
* No chance of continuing.
*/
void prom_halt(void)
{
#ifdef CONFIG_SMP
smp_promstop_others();
udelay(8000);
#endif
again:
p1275_cmd("exit", P1275_INOUT(0, 0));
goto again; /* PROM is out to get me -DaveM */
}

void prom_halt_power_off(void)
{
#ifdef CONFIG_SMP
smp_promstop_others();
udelay(8000);
#endif
p1275_cmd("SUNW,power-off", P1275_INOUT(0, 0));

/* if nothing else helps, we just halt */
Expand Down

0 comments on commit 1e7f899

Please sign in to comment.