diff options
author | Ariane van der Steldt <ariane@cvs.openbsd.org> | 2012-06-13 22:47:41 +0000 |
---|---|---|
committer | Ariane van der Steldt <ariane@cvs.openbsd.org> | 2012-06-13 22:47:41 +0000 |
commit | 7be17255ad924d3c567c86c10806a94a0e317f80 (patch) | |
tree | d3fe79a802c45ef9fa4ae2354c2b65598982519c /sys/kern | |
parent | cc02324d1b91c4751899f34911d6aa1dc3612df0 (diff) |
Expose reaperproc.
I need this for my diffs.
ok guenther@
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/init_main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 341200012aa..9672d3e80ed 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: init_main.c,v 1.182 2012/03/23 15:51:26 guenther Exp $ */ +/* $OpenBSD: init_main.c,v 1.183 2012/06/13 22:47:39 ariane Exp $ */ /* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */ /* @@ -119,6 +119,7 @@ struct plimit limit0; struct vmspace vmspace0; struct sigacts sigacts0; struct proc *initproc; +struct proc *reaperproc; int cmask = CMASK; extern struct user *proc0paddr; @@ -506,7 +507,7 @@ main(void *framep) panic("fork pagedaemon"); /* Create the reaper daemon kernel thread. */ - if (kthread_create(start_reaper, NULL, NULL, "reaper")) + if (kthread_create(start_reaper, NULL, &reaperproc, "reaper")) panic("fork reaper"); /* Create the cleaner daemon kernel thread. */ |