diff options
| author | Yong Zhang <[email protected]> | 2012-05-29 07:16:04 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2012-06-05 15:27:13 +0000 |
| commit | 72ec61a9e8347375e37c05e23511173d8451c3d4 (patch) | |
| tree | c9f17291be8d21c7a1b419a56f289cfa53aaf457 /tools/perf/util/trace-event-scripting.c | |
| parent | SPARC: SMP: Remove call to ipi_call_lock_irq()/ipi_call_unlock_irq() (diff) | |
| download | kernel-72ec61a9e8347375e37c05e23511173d8451c3d4.tar.gz kernel-72ec61a9e8347375e37c05e23511173d8451c3d4.zip | |
POWERPC: Smp: remove call to ipi_call_lock()/ipi_call_unlock()
ipi_call_lock/unlock() lock resp. unlock call_function.lock. This lock
protects only the call_function data structure itself, but it's
completely unrelated to cpu_online_mask. The mask to which the IPIs
are sent is calculated before call_function.lock is taken in
smp_call_function_many(), so the locking around set_cpu_online() is
pointless and can be removed.
[ tglx: Massaged changelog ]
Signed-off-by: Yong Zhang <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Acked-by: Srivatsa S. Bhat <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions
