Re: [PATCH] Make hard_irq_disable() actually hard-disable interrupts

2012-06-14 Thread Benjamin Herrenschmidt
On Thu, 2012-06-14 at 20:31 +1000, Paul Mackerras wrote: > At present, hard_irq_disable() does nothing 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 macr

[PATCH] Make hard_irq_disable() actually hard-disable interrupts

2012-06-14 Thread Paul Mackerras
At present, hard_irq_disable() does nothing 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. Signed-off-by: Paul Mackerras --- arch/powerpc/include/asm/hw_ir