From: Benjamin Herrenschmidt Date: Tue, 8 May 2012 03:31:59 +0000 (+1000) Subject: powerpc/irq: Fix bug with new lazy IRQ handling code X-Git-Tag: v3.4-rc7~23^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56dfa7fa19e36db352a94be022243ed461710119;p=pandora-kernel.git powerpc/irq: Fix bug with new lazy IRQ handling code We had a case where we could turn on hard interrupts while leaving the PACA_IRQ_HARD_DIS bit set in the PACA. This can in turn cause a BUG_ON() to hit in __check_irq_replay() due to interrupt state getting out of sync. The assembly code was also way too convoluted. Instead, we now leave it to the C code to do the right thing which ends up being smaller and more readable. Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed