From a84e0a1cfe2ce57e56cba8ee01b825a875afcf35 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Thu, 30 Mar 2000 11:35:25 +0000 Subject: [PATCH] Remove #ifdef for sem_wakeup() - we just use wakeup(). --- sys/kern/sysv_sem.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/sys/kern/sysv_sem.c b/sys/kern/sysv_sem.c index 534f75431bb9..51c131543292 100644 --- a/sys/kern/sysv_sem.c +++ b/sys/kern/sysv_sem.c @@ -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