aboutsummaryrefslogtreecommitdiff
path: root/x86_64
diff options
context:
space:
mode:
Diffstat (limited to 'x86_64')
-rw-r--r--x86_64/locore.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/x86_64/locore.S b/x86_64/locore.S
index 0833da06..f81886da 100644
--- a/x86_64/locore.S
+++ b/x86_64/locore.S
@@ -894,7 +894,7 @@ ENTRY(kdb_kintr)
cmpq RET_OFFSET(%rax),%rdx /* interrupt handler (2)? */
je 2f /* if not: */
movq (%rax),%rax /* try next frame */
- testl %rax,%rax
+ testq %rax,%rax
jnz 0b
ud2 /* oops, didn't find frame, fix me :/ */