From ff3f259ceab38064953e04384d2b529f7b9aca34 Mon Sep 17 00:00:00 2001 From: Damien Zammit Date: Sat, 17 Feb 2024 20:20:20 +1100 Subject: locore: Remove unnecessary call to CPU_NUMBER The cpu number is already in edx register, so use that. --- x86_64/locore.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'x86_64') diff --git a/x86_64/locore.S b/x86_64/locore.S index f3860b89..25dc15d0 100644 --- a/x86_64/locore.S +++ b/x86_64/locore.S @@ -852,8 +852,7 @@ ENTRY(all_intrs) #endif #ifdef MACH_LDEBUG - CPU_NUMBER(%ecx) - incl CX(EXT(in_interrupt),%rcx) + incl CX(EXT(in_interrupt),%rdx) #endif call EXT(interrupt) /* call generic interrupt routine */ -- cgit v1.2.3