Index: kernel/arch/amd64/src/proc/thread.c
===================================================================
--- kernel/arch/amd64/src/proc/thread.c	(revision bab75df6bdac0b39185034277416374a06d4b37f)
+++ kernel/arch/amd64/src/proc/thread.c	(revision ba9a150799eb4761d670852aa4aa4df033ca853a)
@@ -42,5 +42,5 @@
  *
  */
-void thread_create_arch(thread_t *thread)
+errno_t thread_create_arch(thread_t *thread, thread_flags_t flags)
 {
 	/*
@@ -49,4 +49,5 @@
 	thread->arch.kstack_rsp =
 	    (uintptr_t) &thread->kstack[PAGE_SIZE - sizeof(istate_t)];
+	return EOK;
 }
 
