Date: Wed, 16 Aug 2006 12:33:26 GMT From: Roman Divacky <rdivacky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 104210 for review Message-ID: <200608161233.k7GCXQvt057438@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=104210 Change 104210 by rdivacky@rdivacky_witten on 2006/08/16 12:33:05 Make it buildable. exec <-> exit Affected files ... .. //depot/projects/soc2006/rdivacky_linuxolator/kern/uipc_sem.c#4 edit Differences ... ==== //depot/projects/soc2006/rdivacky_linuxolator/kern/uipc_sem.c#4 (text+ko) ==== @@ -920,13 +920,13 @@ } static void -sem_exithook(void *arg, struct proc *p, struct image_params *imgp __unused) +sem_exechook(void *arg, struct proc *p, struct image_params *imgp __unused) { - sem_exechook(arg, p); + sem_exithook(arg, p); } static void -sem_exechook(void *arg, struct proc *p) +sem_exithook(void *arg, struct proc *p) { struct ksem *ks, *ksnext; @@ -958,7 +958,7 @@ p31b_setcfg(CTL_P1003_1B_SEM_VALUE_MAX, SEM_VALUE_MAX); sem_exit_tag = EVENTHANDLER_REGISTER(process_exit, sem_exithook, NULL, EVENTHANDLER_PRI_ANY); - sem_exec_tag = EVENTHANDLER_REGISTER(process_exec, sem_exithook, + sem_exec_tag = EVENTHANDLER_REGISTER(process_exec, sem_exechook, NULL, EVENTHANDLER_PRI_ANY); sem_fork_tag = EVENTHANDLER_REGISTER(process_fork, sem_forkhook, NULL, EVENTHANDLER_PRI_ANY); break;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608161233.k7GCXQvt057438>