bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 5/5 gnumach] x86_64: Fix broken int_stack_base


From: Damien Zammit
Subject: [PATCH 5/5 gnumach] x86_64: Fix broken int_stack_base
Date: Mon, 13 Feb 2023 08:50:08 +0000

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

diff --git a/x86_64/cswitch.S b/x86_64/cswitch.S
index 1a7471c3..015e884c 100644
--- a/x86_64/cswitch.S
+++ b/x86_64/cswitch.S
@@ -137,7 +137,7 @@ ud2
        movq    S_ARG2,%rsi                     /* get its argument */

        CPU_NUMBER(%eax)
-       movq    EXT(interrupt_stack)(,%eax,8),%rcx      /* point to its 
interrupt stack */
+       movq    CX(EXT(int_stack_base),%eax),%rcx       /* point to its 
interrupt stack */
        lea     INTSTACK_SIZE(%rcx),%rsp        /* switch to it (top) */

        movq    %rax,%rdi                       /* push thread */
--
2.34.1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]