Skip to content

Commit 3e42030

Browse files
committed
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.
1 parent bea7f0c commit 3e42030

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

emu/port/kproc-pthreads.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,6 @@ kproc(char *name, void (*func)(void*), void *arg, int flags)
122122
panic("kproc: no memory");
123123
os->self = 0; /* set by tramp */
124124
sem_init(&os->sem, 0, 0);
125-
#if defined(__NetBSD__) && defined(__powerpc__)
126-
{ /* XXX: Work around a problem on macppc with kernel semaphores. */
127-
int val;
128-
sem_getvalue(&os->sem, &val);
129-
}
130-
#endif
131125
p->os = os;
132126

133127
if(flags & KPDUPPG) {

0 commit comments

Comments
 (0)