PERFORCE change 104210 for review
Roman Divacky
rdivacky at FreeBSD.org
Wed Aug 16 12:37:38 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=104210
Change 104210 by rdivacky at 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;
More information about the p4-projects
mailing list