OSDN Git Service

Make hard_irq_disable() actually hard-disable interrupts
[uclinux-h8/linux.git] / arch / powerpc / include / asm / hw_irq.h
index c9aac24..32b394f 100644 (file)
@@ -100,6 +100,9 @@ static inline void hard_irq_disable(void)
        get_paca()->irq_happened |= PACA_IRQ_HARD_DIS;
 }
 
+/* include/linux/interrupt.h needs hard_irq_disable to be a macro */
+#define hard_irq_disable       hard_irq_disable
+
 /*
  * This is called by asynchronous interrupts to conditionally
  * re-enable hard interrupts when soft-disabled after having