aboutsummaryrefslogtreecommitdiff
path: root/lib/arch/arm64/init_stack.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arch/arm64/init_stack.cc')
-rw-r--r--lib/arch/arm64/init_stack.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arch/arm64/init_stack.cc b/lib/arch/arm64/init_stack.cc
index b28d957..f00320b 100644
--- a/lib/arch/arm64/init_stack.cc
+++ b/lib/arch/arm64/init_stack.cc
@@ -3,7 +3,7 @@
extern "C" void thread_create();
-void* init_stack(void* stack_ptr, void (*entry)(void*), void* ctx) {
+void* init_stack(void* stack_ptr, void (*entry)(void*), const void* ctx) {
static_assert(sizeof(uint64_t) == sizeof(std::uintptr_t), "Pointer must be 64bit!");
// Setup initial stack frame which will be popped when yielding