]> git.baikalelectronics.ru Git - kernel.git/commit
Make hard_irq_disable() actually hard-disable interrupts
authorPaul Mackerras <paulus@samba.org>
Fri, 15 Jun 2012 04:51:39 +0000 (14:51 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 15 Jun 2012 05:27:41 +0000 (15:27 +1000)
commit4fa2e40226323db506ded4e61f1d5df6fc8c863f
tree2b0d0448fc0f5dd52658caacbf6fcad02e7e784c
parent9d9589669f49fdf7b8bb72594c6f0b793dbde4c9
Make hard_irq_disable() actually hard-disable interrupts

At present, hard_irq_disable() does nothing on powerpc because of
this code in include/linux/interrupt.h:

    #ifndef hard_irq_disable
    #define hard_irq_disable()      do { } while(0)
    #endif

So we need to make our hard_irq_disable be a macro.  It was previously
a macro until commit 9c090eefaa ("powerpc: Rework lazy-interrupt
handling") changed it to a static inline function.

Cc: stable@vger.kernel.org
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
--
 arch/powerpc/include/asm/hw_irq.h |    3 +++
 1 file changed, 3 insertions(+)
arch/powerpc/include/asm/hw_irq.h