summaryrefslogtreecommitdiff
path: root/Kernel/API/Syscall.h
diff options
context:
space:
mode:
authorBrian Gianforcaro <b.gianfo@gmail.com>2020-08-05 00:11:56 -0700
committerAndreas Kling <kling@serenityos.org>2020-08-05 09:36:53 +0200
commit7490ea944946f5a9405c20f86fc22bb9014ba07e (patch)
tree54623b0cf5242457a8416999ec8def6e925f0efd /Kernel/API/Syscall.h
parent337e8f98cdc0591476ec6b202cff6413c5902e6a (diff)
downloadserenity-7490ea944946f5a9405c20f86fc22bb9014ba07e.zip
Kernel + LibPthread: Use Userspace<T> in the create_thread syscall
Diffstat (limited to 'Kernel/API/Syscall.h')
-rw-r--r--Kernel/API/Syscall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h
index ef8d5ced68..e952a10a0b 100644
--- a/Kernel/API/Syscall.h
+++ b/Kernel/API/Syscall.h
@@ -355,7 +355,7 @@ struct SC_create_thread_params {
unsigned int m_guard_page_size = 0; // Rounded up to PAGE_SIZE
unsigned int m_reported_guard_page_size = 0; // The lie we tell callers
unsigned int m_stack_size = 4 * MB; // Default PTHREAD_STACK_MIN
- void* m_stack_location = nullptr; // nullptr means any, o.w. process virtual address
+ Userspace<void*> m_stack_location; // nullptr means any, o.w. process virtual address
};
struct SC_realpath_params {