diff options
Diffstat (limited to 'x86_64/cswitch.S')
-rw-r--r-- | x86_64/cswitch.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/x86_64/cswitch.S b/x86_64/cswitch.S index 1f2e8e9d..29dae62c 100644 --- a/x86_64/cswitch.S +++ b/x86_64/cswitch.S @@ -85,7 +85,7 @@ ENTRY(Switch_context) /* point to stack top */ CPU_NUMBER(%eax) - movq %rsi,CX(EXT(active_threads),%rax) /* new thread is active */ + movq %rsi,MY(ACTIVE_THREAD) /* new thread is active */ movq %rcx,CX(EXT(active_stacks),%rax) /* set current stack */ movq %rbx,CX(EXT(kernel_stack),%rax) /* set stack top */ |