diff options
author | Simon Glass <sjg@chromium.org> | 2017-01-16 07:04:14 -0700 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2017-02-06 11:38:46 +0800 |
commit | c2bf0dfaa3b313b941e52e565f6a2d20c02fe11a (patch) | |
tree | 92db3032140aa198febe9eac1ed09c0af05f5c3c /arch/x86/lib | |
parent | ca5114f9afb9824ab4895cf75c37d1bc450cb08a (diff) | |
download | u-boot-imx-c2bf0dfaa3b313b941e52e565f6a2d20c02fe11a.zip u-boot-imx-c2bf0dfaa3b313b941e52e565f6a2d20c02fe11a.tar.gz u-boot-imx-c2bf0dfaa3b313b941e52e565f6a2d20c02fe11a.tar.bz2 |
x86: Drop interrupt support in 64-bit mode
This is not currently supported, so drop the code.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/lib')
-rw-r--r-- | arch/x86/lib/interrupts.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/lib/interrupts.c b/arch/x86/lib/interrupts.c index dd08402..d3ae6d9 100644 --- a/arch/x86/lib/interrupts.c +++ b/arch/x86/lib/interrupts.c @@ -33,6 +33,8 @@ #include <common.h> #include <asm/interrupt.h> +#if !CONFIG_IS_ENABLED(X86_64) + struct irq_action { interrupt_handler_t *handler; void *arg; @@ -118,10 +120,12 @@ void do_irq(int hw_irq) } } } +#endif #if defined(CONFIG_CMD_IRQ) int do_irqinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { +#if !CONFIG_IS_ENABLED(X86_64) int irq; printf("Spurious IRQ: %u, last unknown IRQ: %d\n", @@ -139,6 +143,7 @@ int do_irqinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) irq_handlers[irq].count); } } +#endif return 0; } |