Kernel: Remove unnecessary stack pointer loading
Any time I started a thread I was loading the stack pointer which is already correctly passed :D
This commit is contained in:
@@ -33,7 +33,7 @@ sys_fork_trampoline:
|
||||
|
||||
call read_ip
|
||||
testq %rax, %rax
|
||||
je .done
|
||||
jz .done
|
||||
|
||||
movq %rax, %rsi
|
||||
movq %rsp, %rdi
|
||||
|
||||
Reference in New Issue
Block a user