From: Ingo Molnar lockdep wants to use the disable_irq()/enable_irq() prototypes before they are provied by the platform's asm/irq.h. So move them out of the CONFIG_GENERIC_HARDIRQS define - all architectures have a common prototype for this anyway. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton --- include/linux/interrupt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN include/linux/interrupt.h~lock-validator-sparc64-sparc-m68k-alpha-cris-build-fix include/linux/interrupt.h --- devel/include/linux/interrupt.h~lock-validator-sparc64-sparc-m68k-alpha-cris-build-fix 2006-06-04 23:05:51.000000000 -0700 +++ devel-akpm/include/linux/interrupt.h 2006-06-04 23:05:51.000000000 -0700 @@ -32,11 +32,11 @@ extern int request_irq(unsigned int, extern void free_irq(unsigned int, void *); -#ifdef CONFIG_GENERIC_HARDIRQS extern void disable_irq_nosync(unsigned int irq); extern void disable_irq(unsigned int irq); extern void enable_irq(unsigned int irq); +#ifdef CONFIG_GENERIC_HARDIRQS /* IRQ wakeup (PM) control: */ extern int set_irq_wake(unsigned int irq, unsigned int on); _