Searched hist:"9 ff0c61d08ac4defa5ad6c65935a67643b8f4ce3" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/powerpc/kernel/ |
H A D | rtasd.c | diff 9ff0c61d08ac4defa5ad6c65935a67643b8f4ce3 Thu Feb 10 05:57:27 CST 2011 Paul E. McKenney <paulmck@linux.vnet.ibm.com> powerpc: Mask smp_processor_id() false positive
The rtas_event_scan() function uses smp_processor_id() to select a starting point in cpu_online_mask, and does so under the protection of get_online_cpus(). This might not select the current processor in any case, so switch to raw_smp_processor_id().
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|