diff options
-rw-r--r-- | i386/i386/locore.S | 3 | ||||
-rw-r--r-- | x86_64/locore.S | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/i386/i386/locore.S b/i386/i386/locore.S index 378297ff..9d0513a1 100644 --- a/i386/i386/locore.S +++ b/i386/i386/locore.S @@ -782,8 +782,7 @@ ENTRY(all_intrs) #endif #ifdef MACH_LDEBUG - CPU_NUMBER(%ecx) - incl CX(EXT(in_interrupt),%ecx) + incl CX(EXT(in_interrupt),%edx) #endif call EXT(interrupt) /* call generic interrupt routine */ 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 */ |