Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57411
b: refs/heads/master
c: f72267c
h: refs/heads/master
i:
  57409: 38e1815
  57407: 6b51bf8
v: v3
  • Loading branch information
Russell King authored and Russell King committed Jun 2, 2007
1 parent b3efa2d commit ece978e
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: 29c349d22ccda5678a7dfb732093dbd3befcefa3
refs/heads/master: f72267c30f5a08f9a77c97417ec120e6943195f8
2 changes: 2 additions & 0 deletions trunk/arch/arm/oprofile/op_model_mpcore.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,10 @@ static int em_call_function(int (*fn)(void))
data.fn = fn;
data.ret = 0;

preempt_disable();
smp_call_function(em_func, &data, 1, 1);
em_func(&data);
preempt_enable();

return data.ret;
}
Expand Down

0 comments on commit ece978e

Please sign in to comment.