diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-07-13 13:17:04 +0900 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-07-22 07:30:31 -0600 |
commit | 5f7e310467b62e136831f6ea418c91f82df18b77 (patch) | |
tree | 5a090fbd7aafac14c6d4243c2e6735f33c369b8d /arch/x86/include/asm/interrupt.h | |
parent | b86f795a378fdeb873cdc464367660fb3b49c443 (diff) | |
download | u-boot-imx-5f7e310467b62e136831f6ea418c91f82df18b77.zip u-boot-imx-5f7e310467b62e136831f6ea418c91f82df18b77.tar.gz u-boot-imx-5f7e310467b62e136831f6ea418c91f82df18b77.tar.bz2 |
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
<linux/compat.h>.
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 <yamada.masahiro@socionext.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include/asm/interrupt.h')
-rw-r--r-- | arch/x86/include/asm/interrupt.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/include/asm/interrupt.h b/arch/x86/include/asm/interrupt.h index 0a75f89..00cbe07 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); |