commit | 0b88f772bdf2847461debf417b1ee96043a7cb1b | [log] [tgz] |
---|---|---|
author | Tiejun Chen <tiejun.chen@windriver.com> | Mon Jul 15 10:36:04 2013 +0800 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Jul 24 14:18:44 2013 +1000 |
tree | a2abb3bc097e52117ff5005e2f50a1a45eda0736 | |
parent | 0e0ed6406e61434d3f38fb58aa8464ec4722b77e [diff] |
powerpc: Access local paca after hard irq disabled In hard_irq_disable(), we accessed the PACA before we hard disabled the interrupts, potentially causing a warning as get_paca() will us debug_smp_processor_id(). Move that to after the disabling, and also use local_paca directly rather than get_paca() to avoid several redundant and useless checks. Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>