diff options
Diffstat (limited to 'sys/sparc64/sparc64/vm_machdep.c')
-rw-r--r-- | sys/sparc64/sparc64/vm_machdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sparc64/sparc64/vm_machdep.c b/sys/sparc64/sparc64/vm_machdep.c index 20bf46b..9dd80fd 100644 --- a/sys/sparc64/sparc64/vm_machdep.c +++ b/sys/sparc64/sparc64/vm_machdep.c @@ -196,13 +196,14 @@ cpu_set_upcall_kse(struct thread *td, void (*entry)(void *), void *arg, td->td_retval[1] = tf->tf_out[1]; } -void +int cpu_set_user_tls(struct thread *td, void *tls_base) { if (td == curthread) flushw(); td->td_frame->tf_global[7] = (uint64_t) tls_base; + return (0); } /* |