diff options
| author | Jeff Roberson <jeff@FreeBSD.org> | 2002-10-12 05:32:24 +0000 |
|---|---|---|
| committer | Jeff Roberson <jeff@FreeBSD.org> | 2002-10-12 05:32:24 +0000 |
| commit | b43179fbe815b81e2d6bb729ffcb08e8f0a143da (patch) | |
| tree | 69991942d3c51153d9210031e7380779edf05aaf /sys/posix4 | |
| parent | bd26dcd10398fc7436ec5f3ee1a35ef5a7ae54dd (diff) | |
Notes
Diffstat (limited to 'sys/posix4')
| -rw-r--r-- | sys/posix4/ksched.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/posix4/ksched.c b/sys/posix4/ksched.c index 881d4a317909..62ab684ea37e 100644 --- a/sys/posix4/ksched.c +++ b/sys/posix4/ksched.c @@ -41,6 +41,7 @@ #include <sys/mutex.h> #include <sys/proc.h> #include <sys/resource.h> +#include <sys/sched.h> #include <posix4/posix4.h> @@ -56,7 +57,7 @@ int ksched_attach(struct ksched **p) struct ksched *ksched= p31b_malloc(sizeof(*ksched)); ksched->rr_interval.tv_sec = 0; - ksched->rr_interval.tv_nsec = 1000000000L / roundrobin_interval(); + ksched->rr_interval.tv_nsec = 1000000000L / sched_rr_interval(); *p = ksched; return 0; |
