summaryrefslogtreecommitdiff
path: root/sys/kern/kern_synch.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2013-09-14 01:35:03 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2013-09-14 01:35:03 +0000
commit7b1fdca317ff8e8767ac152f6fd1bedea14e8d85 (patch)
treea898f8311a74dbf96088b41007361416fe6b39cb /sys/kern/kern_synch.c
parenta48e8a33d48318a13cfd64a01cca5f45045c8b82 (diff)
Snapshots for all archs have been built, so remove the T32 code
Diffstat (limited to 'sys/kern/kern_synch.c')
-rw-r--r--sys/kern/kern_synch.c31
1 files changed, 1 insertions, 30 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c
index 6703cd7f363..c36367772a9 100644
--- a/sys/kern/kern_synch.c
+++ b/sys/kern/kern_synch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_synch.c,v 1.107 2013/08/13 05:52:23 guenther Exp $ */
+/* $OpenBSD: kern_synch.c,v 1.108 2013/09/14 01:35:01 guenther Exp $ */
/* $NetBSD: kern_synch.c,v 1.37 1996/04/22 01:38:37 christos Exp $ */
/*
@@ -521,35 +521,6 @@ sys___thrsleep(struct proc *p, void *v, register_t *retval)
return (0);
}
-#ifdef T32
-int
-t32_sys___thrsleep(struct proc *p, void *v, register_t *retval)
-{
- struct t32_sys___thrsleep_args /* {
- syscallarg(const volatile void *) ident;
- syscallarg(clockid_t) clock_id;
- syscallarg(struct timespec32 *) tp;
- syscallarg(void *) lock;
- syscallarg(const int *) abort;
- } */ *uap = v;
- struct timespec32 ts32;
- struct timespec ts;
- int error;
-
- if (SCARG(uap, tp) != NULL) {
- if ((error = copyin(SCARG(uap, tp), &ts32, sizeof(ts32)))) {
- *retval = error;
- return (0);
- }
- TIMESPEC_FROM_32(&ts, &ts32);
- SCARG(uap, tp) = (void *)&ts;
- }
-
- *retval = thrsleep(p, (struct sys___thrsleep_args *)uap);
- return (0);
-}
-#endif
-
int
sys___thrwakeup(struct proc *p, void *v, register_t *retval)
{