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>
This commit is contained in:
parent
ca5114f9af
commit
c2bf0dfaa3
|
@ -33,6 +33,8 @@
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include <asm/interrupt.h>
|
#include <asm/interrupt.h>
|
||||||
|
|
||||||
|
#if !CONFIG_IS_ENABLED(X86_64)
|
||||||
|
|
||||||
struct irq_action {
|
struct irq_action {
|
||||||
interrupt_handler_t *handler;
|
interrupt_handler_t *handler;
|
||||||
void *arg;
|
void *arg;
|
||||||
|
@ -118,10 +120,12 @@ void do_irq(int hw_irq)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_CMD_IRQ)
|
#if defined(CONFIG_CMD_IRQ)
|
||||||
int do_irqinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
int do_irqinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||||
{
|
{
|
||||||
|
#if !CONFIG_IS_ENABLED(X86_64)
|
||||||
int irq;
|
int irq;
|
||||||
|
|
||||||
printf("Spurious IRQ: %u, last unknown IRQ: %d\n",
|
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);
|
irq_handlers[irq].count);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue