aboutsummaryrefslogtreecommitdiff
path: root/lib/arch/arm64/init_stack.cc
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2020-10-08 20:14:42 +0200
committerjohannst <johannes.stoelp@gmail.com>2020-10-08 20:14:42 +0200
commit3b4a6097dee760d22eecd97ebe041c69da6b056a (patch)
treebf1536956a327c77c0975d1a6a0d04e230fd0aad /lib/arch/arm64/init_stack.cc
parent8d2529404437262c5bf0521063221906aeecfb22 (diff)
downloadmatcha-threads-3b4a6097dee760d22eecd97ebe041c69da6b056a.tar.gz
matcha-threads-3b4a6097dee760d22eecd97ebe041c69da6b056a.zip
remove incorrect const
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