commit | 9ff0c61d08ac4defa5ad6c65935a67643b8f4ce3 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Thu Feb 10 11:57:27 2011 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Mar 02 16:50:25 2011 +1100 |
tree | d37475a6aa440c0e2a37af9700818ed7fa0a3c64 | |
parent | 31116f0b7e8965ff3c2fd09ab240b7746d5556b3 [diff] |
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>