diff options
author | Li Zhong | 2013-01-24 21:51:13 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt | 2013-01-29 11:35:06 +1100 |
commit | 94c95cfbfe784eca5f4b96955e41bda1318605bc (patch) | |
tree | b53ed3b764c16cd798ad4113aed7a6a66e513a60 /block/genhd.c | |
parent | 5e249d4528528c9a77da051a89ec7f99d31b83eb (diff) |
powerpc: Avoid debug_smp_processor_id() check in SHARED_PROCESSOR
Use local_paca directly in macro SHARED_PROCESSOR, as all processors
have the same value for the field shared_proc, so we don't need care
racy here.
Reported-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Li Zhong <zhong@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions