x86: delete unneeded declarations of disable_irq() and enable_irq()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 13 Jul 2015 04:17:04 +0000 (13:17 +0900)
committerSimon Glass <sjg@chromium.org>
Wed, 22 Jul 2015 13:30:31 +0000 (07:30 -0600)
commit5f7e310467b62e136831f6ea418c91f82df18b77
tree5a090fbd7aafac14c6d4243c2e6735f33c369b8d
parentb86f795a378fdeb873cdc464367660fb3b49c443
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>
arch/x86/include/asm/interrupt.h