diff options
| author | Jeff Roberson <jeff@FreeBSD.org> | 2002-11-21 01:22:38 +0000 |
|---|---|---|
| committer | Jeff Roberson <jeff@FreeBSD.org> | 2002-11-21 01:22:38 +0000 |
| commit | de028f5a4a67b635ea3e45799be822c8daa1ff20 (patch) | |
| tree | ffffe185be0dc78e5e3c311d7fcb3156b1524543 /sys/kern/init_main.c | |
| parent | 075c3f0781b32e7b28c5cd4bca725b0eba7a1836 (diff) | |
Notes
Diffstat (limited to 'sys/kern/init_main.c')
| -rw-r--r-- | sys/kern/init_main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 933c25c535bf..4da237752fe6 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -64,6 +64,7 @@ #include <sys/vnode.h> #include <sys/sysent.h> #include <sys/reboot.h> +#include <sys/sched.h> #include <sys/sx.h> #include <sys/sysproto.h> #include <sys/vmmeter.h> @@ -316,6 +317,11 @@ proc0_init(void *dummy __unused) ke = &kse0; kg = &ksegrp0; + ke->ke_sched = kse0_sched; + kg->kg_sched = ksegrp0_sched; + p->p_sched = proc0_sched; + td->td_sched = thread0_sched; + /* * Initialize magic number. */ |
