ref: cb5057c6b3f549328a09fb08b300a0f74f671520
parent: 8294be6e7c9032e3c472018b53154d5b4faec00c
author: henesy <devnull@localhost>
date: Sat Feb 29 11:23:49 EST 2020
merge 3e420305d50f67d3ee641e8f6e1632b6aa9a717c
--- a/emu/port/kproc-pthreads.c
+++ b/emu/port/kproc-pthreads.c
@@ -122,12 +122,6 @@
panic("kproc: no memory");
os->self = 0; /* set by tramp */
sem_init(&os->sem, 0, 0);
-#if defined(__NetBSD__) && defined(__powerpc__)
- { /* XXX: Work around a problem on macppc with kernel semaphores. */
- int val;
- sem_getvalue(&os->sem, &val);
- }
-#endif
p->os = os;
if(flags & KPDUPPG) {