---
 x86_64/locore.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x86_64/locore.S b/x86_64/locore.S
index 67d27fb1..b822c167 100644
--- a/x86_64/locore.S
+++ b/x86_64/locore.S
@@ -704,7 +704,7 @@ trap_from_kernel:
        cmpq    CX(EXT(int_stack_base),%rcx),%rdx
        je      1f                      /* OK if so */
 
-       movl    %ecx,%edx
+       movq    %rcx,%rdx
        cmpq    CX(EXT(kernel_stack),%rdx),%rsp
                                        /* already on kernel stack? */
        ja      0f
-- 
2.45.2



Reply via email to