From: Masahiro Yamada Date: Mon, 13 Jul 2015 04:17:04 +0000 (+0900) Subject: x86: delete unneeded declarations of disable_irq() and enable_irq() X-Git-Tag: v2015.10-rc1~82 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5f7e310467b62e136831f6ea418c91f82df18b77;p=u-boot x86: delete unneeded declarations of disable_irq() and enable_irq() These two declarations in arch/x86/include/asm/interrupt.h conflict with ones in include/linux/compat.h, so x86 boards cannot include . The comment /* arch/x86/lib/interrupts.c */ is bogus now, and we do not see any definitions of disable_irq() and enable_irq() in there. Signed-off-by: Masahiro Yamada Reviewed-by: Bin Meng Acked-by: Simon Glass --- diff --git a/arch/x86/include/asm/interrupt.h b/arch/x86/include/asm/interrupt.h index 0a75f89d95..00cbe07ed1 100644 --- a/arch/x86/include/asm/interrupt.h +++ b/arch/x86/include/asm/interrupt.h @@ -16,10 +16,6 @@ /* arch/x86/cpu/interrupts.c */ void set_vector(u8 intnum, void *routine); -/* arch/x86/lib/interrupts.c */ -void disable_irq(int irq); -void enable_irq(int irq); - /* Architecture specific functions */ void mask_irq(int irq); void unmask_irq(int irq);