From: Tiejun Chen Date: Mon, 15 Jul 2013 02:36:04 +0000 (+0800) Subject: powerpc: Access local paca after hard irq disabled X-Git-Tag: v3.11-rc3~18^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b88f772bdf2847461debf417b1ee96043a7cb1b;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed