From 7fb5702f6625b181dd61cd4bd59c45b16bb3983a Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 1 Jun 2025 19:57:29 -0400 Subject: kernel/amd64: Only use HALT_VECTOR Signed-off-by: Ian Moffett --- sys/arch/amd64/amd64/machdep.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/arch/amd64') diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c index 3381437..19918b7 100644 --- a/sys/arch/amd64/amd64/machdep.c +++ b/sys/arch/amd64/amd64/machdep.c @@ -52,8 +52,6 @@ #define SPECTRE_IBRS 0 #endif -static uint8_t halt_vector = 0; - int ibrs_enable(void); void syscall_isr(void); void pin_isr_load(void); @@ -166,7 +164,7 @@ cpu_halt_all(void) } /* Send IPI to all cores */ - lapic_send_ipi(0, IPI_SHORTHAND_ALL, halt_vector); + lapic_send_ipi(0, IPI_SHORTHAND_ALL, HALT_VECTOR); for (;;); } -- cgit v1.2.3