tests: interrupt: remove unused macro TRIGGER_IRQ_INT.
On X86 platforms, the interrupt trigger method has been changed to use APIC IPI, we don't use INT command to trigger interrupt, so remove this unused macro. Signed-off-by: Chen Peng1 <peng1.chen@intel.com>
This commit is contained in:
parent
bae794e300
commit
5a23383ad6
1 changed files with 0 additions and 2 deletions
|
@ -110,8 +110,6 @@ static inline void trigger_irq(int irq)
|
|||
#define LOAPIC_ICR_IPI_TEST 0x00004000U
|
||||
#endif
|
||||
|
||||
#define TRIGGER_IRQ_INT(vector) __asm__ volatile("int %0" : : "i" (vector) : "memory")
|
||||
|
||||
/*
|
||||
* We can emulate the interrupt by sending the IPI to
|
||||
* core itself by the LOAPIC for x86 platform.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue