aboutsummaryrefslogtreecommitdiff
path: root/sys/alpha
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2005-07-10 23:31:11 +0000
committerDavid Xu <davidxu@FreeBSD.org>2005-07-10 23:31:11 +0000
commit740fd64d65cc70e1bfd61ab9e8061eb2d1f39c5d (patch)
treee1deb69e9ef98abe6e3de57b17a8192575186ef3 /sys/alpha
parent5305063bdf10c069cd1fdb9fd0860a42b1d70008 (diff)
Notes
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/alpha/vm_machdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/alpha/alpha/vm_machdep.c b/sys/alpha/alpha/vm_machdep.c
index f8e90287fc80..cfbdf2c1d21f 100644
--- a/sys/alpha/alpha/vm_machdep.c
+++ b/sys/alpha/alpha/vm_machdep.c
@@ -360,7 +360,7 @@ cpu_set_upcall_kse(struct thread *td, void (*entry)(void *), void *arg,
tf->tf_regs[FRAME_FLAGS] = 0; /* full restore */
}
-void
+int
cpu_set_user_tls(struct thread *td, void *tls_base)
{
@@ -368,6 +368,7 @@ cpu_set_user_tls(struct thread *td, void *tls_base)
td->td_pcb->pcb_hw.apcb_unique = (unsigned long)tls_base;
else
alpha_pal_wrunique((uintptr_t)tls_base);
+ return (0);
}
/*