From: Paul E. McKenney Date: Thu, 10 Feb 2011 11:57:27 +0000 (+0000) Subject: powerpc: Mask smp_processor_id() false positive X-Git-Tag: v2.6.39-rc1~430^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ff0c61d08ac4defa5ad6c65935a67643b8f4ce3;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed