powerpc/mpic: Disable preemption when calling mpic_processor_id()
authorScott Wood <scottwood@freescale.com>
Fri, 27 Sep 2013 00:18:18 +0000 (19:18 -0500)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 11 Oct 2013 05:48:58 +0000 (16:48 +1100)
commit32dda05f4ec2b854b594bd91590c46c5197d77e1
treeaaaf84a63f8a96ff8073a736aa357104b9f9395c
parentf036b368196263f648bede42bbbe1c1e6e834d10
powerpc/mpic: Disable preemption when calling mpic_processor_id()

Otherwise, we get a debug traceback due to the use of
smp_processor_id() (or get_paca()) inside hard_smp_processor_id().
mpic_host_map() is just looking for a default CPU, so it doesn't matter
if we migrate after getting the CPU ID.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/sysdev/mpic.c