Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39270
b: refs/heads/master
c: d6a2925
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mackerras committed Oct 10, 2006
1 parent 5f99310 commit 935a3cd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 39e3eb7265b8698e5f607a317af13c9478274736
refs/heads/master: d6a29252ad120457cd544d44b2fbea46a00734a7
7 changes: 6 additions & 1 deletion trunk/arch/powerpc/platforms/powermac/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ static void __init smp_psurge_kick_cpu(int nr)
{
unsigned long start = __pa(__secondary_start_pmac_0) + nr * 8;
unsigned long a;
int i;

/* may need to flush here if secondary bats aren't setup */
for (a = KERNELBASE; a < KERNELBASE + 0x800000; a += 32)
Expand All @@ -340,7 +341,11 @@ static void __init smp_psurge_kick_cpu(int nr)
mb();

psurge_set_ipi(nr);
udelay(10);
/*
* We can't use udelay here because the timebase is now frozen.
*/
for (i = 0; i < 2000; ++i)
barrier();
psurge_clr_ipi(nr);

if (ppc_md.progress) ppc_md.progress("smp_psurge_kick_cpu - done", 0x354);
Expand Down

0 comments on commit 935a3cd

Please sign in to comment.