From: Paul Mackerras Date: Wed, 18 Oct 2006 00:11:22 +0000 (+1000) Subject: [POWERPC] Make sure interrupt enable gets restored properly X-Git-Tag: v2.6.20-rc1~34^2~40^2~8^2~190 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0a779debd56514b2b5de7617a1643e5dac2d4dd;p=pandora-kernel.git [POWERPC] Make sure interrupt enable gets restored properly The lazy IRQ disable patch missed a couple of places where the interrupt enable flags need to be restored correctly. First, we weren't restoring the paca->hard_enabled flag on interrupt exit. Instead of saving it on entry, we compute it from the MSR_EE bit in the MSR we are restoring at exit. Secondly, the MMU hash miss code was clearing both paca->soft_enabled and paca->hard_enabled but not restoring them in the case where hash_page was able to resolve the miss from the Linux page tables. Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed