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

2012-06-15 Thread Benjamin Herrenschmidt
On Fri, 2012-06-15 at 14:51 +1000, Paul Mackerras wrote: 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

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

2012-06-14 Thread Paul Mackerras
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. Acked-by: Benjamin Herrenschmidt b...@kernel.crashing.org