Remove #ifdef for sem_wakeup() - we just use wakeup().
This commit is contained in:
parent
9962fa3956
commit
a84e0a1cfe
@ -848,14 +848,10 @@ semop(p, uap)
|
||||
if (do_wakeup) {
|
||||
#ifdef SEM_DEBUG
|
||||
printf("semop: doing wakeup\n");
|
||||
#ifdef SEM_WAKEUP
|
||||
sem_wakeup((caddr_t)semaptr);
|
||||
#else
|
||||
wakeup((caddr_t)semaptr);
|
||||
#endif
|
||||
printf("semop: back from wakeup\n");
|
||||
#else
|
||||
wakeup((caddr_t)semaptr);
|
||||
#ifdef SEM_DEBUG
|
||||
printf("semop: back from wakeup\n");
|
||||
#endif
|
||||
}
|
||||
#ifdef SEM_DEBUG
|
||||
@ -944,11 +940,7 @@ semexit(p)
|
||||
} else
|
||||
semaptr->sem_base[semnum].semval += adjval;
|
||||
|
||||
#ifdef SEM_WAKEUP
|
||||
sem_wakeup((caddr_t)semaptr);
|
||||
#else
|
||||
wakeup((caddr_t)semaptr);
|
||||
#endif
|
||||
#ifdef SEM_DEBUG
|
||||
printf("semexit: back from wakeup\n");
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user