diff options
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | 2009-12-14 18:00:16 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-15 08:53:25 -0800 |
commit | c0f68c2fab4898bcc4671a8fb941f428856b4ad5 (patch) | |
tree | 87cc5addf461b699b3b9c9d1931f77acf947051d /firmware/edgeport | |
parent | 4eb174bee6f8623fed1af0072f1bebfc3b513a52 (diff) | |
download | op-kernel-dev-c0f68c2fab4898bcc4671a8fb941f428856b4ad5.zip op-kernel-dev-c0f68c2fab4898bcc4671a8fb941f428856b4ad5.tar.gz |
generic-ipi: cleanup for generic_smp_call_function_interrupt()
Use smp_processor_id() instead of get_cpu() and put_cpu() in
generic_smp_call_function_interrupt(), It's no need to disable preempt,
because we must call generic_smp_call_function_interrupt() with interrupts
disabled.
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'firmware/edgeport')
0 files changed, 0 insertions, 0 deletions