From: Ivan Kokshaysky Date: Wed, 12 Jan 2011 22:02:24 +0000 (+0000) Subject: alpha: fix WARN_ON in __local_bh_enable() X-Git-Tag: v2.6.38-rc1~23^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f5de6ecc84b58ba0f394365eafc8681af7a4f73d;p=platform%2Fkernel%2Flinux-exynos.git alpha: fix WARN_ON in __local_bh_enable() Interrupts ought to be disabled _before_ irq_enter(). Signed-off-by: Ivan Kokshaysky Signed-off-by: Matt Turner --- diff --git a/arch/alpha/kernel/irq.c b/arch/alpha/kernel/irq.c index 5912900..9ab234f 100644 --- a/arch/alpha/kernel/irq.c +++ b/arch/alpha/kernel/irq.c @@ -160,15 +160,14 @@ handle_irq(int irq) return; } - irq_enter(); /* - * handle_irq() must be called with IPL_MAX. Note that we do not + * From here we must proceed with IPL_MAX. Note that we do not * explicitly enable interrupts afterwards - some MILO PALcode * (namely LX164 one) seems to have severe problems with RTI * at IPL 0. */ local_irq_disable(); + irq_enter(); generic_handle_irq_desc(irq, desc); irq_exit(); } -