aboutsummaryrefslogtreecommitdiff
path: root/lib/thread_create.s
diff options
context:
space:
mode:
Diffstat (limited to 'lib/thread_create.s')
-rw-r--r--lib/thread_create.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/thread_create.s b/lib/thread_create.s
index 6ebcd86..d5dd092 100644
--- a/lib/thread_create.s
+++ b/lib/thread_create.s
@@ -23,9 +23,9 @@ thread_create:
.size thread_create, .-thread_create
- # extern "C" void yield(void* new_stack, void** old_stack);
- # ^^^^^^^^^ ^^^^^^^^^
- # rdi rsi
+ # extern "C" void yield(const void* new_stack, void* const* old_stack);
+ # ^^^^^^^^^ ^^^^^^^^^
+ # rdi rsi
.global yield
.type yield, @function
yield: