Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48985
b: refs/heads/master
c: 0e0ba76
h: refs/heads/master
i:
  48983: b39fadb
v: v3
  • Loading branch information
Catalin Marinas authored and Russell King committed Feb 16, 2007
1 parent 21a0c2b commit a3ff0b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7770bddb27ea84519486d8bb5d35d36d580c451b
refs/heads/master: 0e0ba76926c37f11f38670db0cb33728f502551e
2 changes: 2 additions & 0 deletions trunk/arch/arm/mach-realview/platsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ void __cpuinit platform_secondary_init(unsigned int cpu)
* pen, then head off into the C entry point
*/
pen_release = -1;
smp_wmb();

/*
* Synchronise with the boot thread.
Expand Down Expand Up @@ -102,6 +103,7 @@ int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle)

timeout = jiffies + (1 * HZ);
while (time_before(jiffies, timeout)) {
smp_rmb();
if (pen_release == -1)
break;

Expand Down

0 comments on commit a3ff0b9

Please sign in to comment.