From: Hugh Dickins Date: Fri, 10 Nov 2006 21:32:40 +0000 (+0000) Subject: [POWERPC] Make soft_enabled irqs preempt safe X-Git-Tag: v2.6.20-rc2~6^2~13^2~13^2~107 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef2b343e99e772e35f0f9d00f7db318b6629c16e;p=pandora-kernel.git [POWERPC] Make soft_enabled irqs preempt safe Rewrite local_get_flags and local_irq_disable to use r13 explicitly, to avoid the risk that gcc will split get_paca()->soft_enabled into a sequence unsafe against preemption. Similar care in local_irq_restore. Signed-off-by: Hugh Dickins Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed