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:
Chen Peng1 2022-06-22 14:02:50 +08:00 committed by Carles Cufí
commit 5a23383ad6

View file

@ -110,8 +110,6 @@ static inline void trigger_irq(int irq)
#define LOAPIC_ICR_IPI_TEST 0x00004000U #define LOAPIC_ICR_IPI_TEST 0x00004000U
#endif #endif
#define TRIGGER_IRQ_INT(vector) __asm__ volatile("int %0" : : "i" (vector) : "memory")
/* /*
* We can emulate the interrupt by sending the IPI to * We can emulate the interrupt by sending the IPI to
* core itself by the LOAPIC for x86 platform. * core itself by the LOAPIC for x86 platform.