diff options
Diffstat (limited to 'src/thread/riscv32/clone.s')
-rw-r--r-- | src/thread/riscv32/clone.s | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/thread/riscv32/clone.s b/src/thread/riscv32/clone.s index 3102239d..e2116e33 100644 --- a/src/thread/riscv32/clone.s +++ b/src/thread/riscv32/clone.s @@ -8,6 +8,7 @@ .type __clone, %function __clone: # Save func and arg to stack + andi a1, a1, -16 addi a1, a1, -16 sw a0, 0(a1) sw a3, 4(a1) |