diff options
| author | Valery Ushakov <uwe@stderr.spb.ru> | 2019-12-19 14:02:31 +0300 |
|---|---|---|
| committer | Valery Ushakov <uwe@stderr.spb.ru> | 2019-12-19 14:02:31 +0300 |
| commit | 3e420305d50f67d3ee641e8f6e1632b6aa9a717c (patch) | |
| tree | b0917b3529167e8ceda7977d7ee450267a1a6563 /emu/port/kproc-pthreads.c | |
| parent | bea7f0cc7c9cdd883340c80697abc0be028bf944 (diff) | |
G/c misguided NetBSD/powerpc kludge.
The problem was the alignment bug (alloc.c) that I thought I had
fixed, but did't. Now that that bug is fixed properly drop the bogus
kludge I left here while investigating the problem.
Diffstat (limited to 'emu/port/kproc-pthreads.c')
| -rw-r--r-- | emu/port/kproc-pthreads.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/emu/port/kproc-pthreads.c b/emu/port/kproc-pthreads.c index c6caded6..a15a7cd3 100644 --- a/emu/port/kproc-pthreads.c +++ b/emu/port/kproc-pthreads.c @@ -122,12 +122,6 @@ kproc(char *name, void (*func)(void*), void *arg, int flags) 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) { |
