summaryrefslogtreecommitdiffstats
path: root/sys/kern/p1003_1b.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2010-11-19 17:56:16 +0000
committerjhb <jhb@FreeBSD.org>2010-11-19 17:56:16 +0000
commit047d1e801b183801b51b7f4b31b5ebc6281f2aa3 (patch)
treec54c924138033df988910cea019b315ae7e90336 /sys/kern/p1003_1b.c
parent40263c2648cf27fcb17000963ad7b3ec2348ca41 (diff)
downloadFreeBSD-src-047d1e801b183801b51b7f4b31b5ebc6281f2aa3.zip
FreeBSD-src-047d1e801b183801b51b7f4b31b5ebc6281f2aa3.tar.gz
Set various POSIX capability sysctls to the version of the API that is
supported rather than 1. They are supposed to return a suitable value for sysconf(3). While here, make the fsync sysctl match <unistd.h>. MFC after: 1 week
Diffstat (limited to 'sys/kern/p1003_1b.c')
-rw-r--r--sys/kern/p1003_1b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/p1003_1b.c b/sys/kern/p1003_1b.c
index 5de60f2..9620a36 100644
--- a/sys/kern/p1003_1b.c
+++ b/sys/kern/p1003_1b.c
@@ -102,7 +102,7 @@ sched_attach(void)
int ret = ksched_attach(&ksched);
if (ret == 0)
- p31b_setcfg(CTL_P1003_1B_PRIORITY_SCHEDULING, 1);
+ p31b_setcfg(CTL_P1003_1B_PRIORITY_SCHEDULING, 200112L);
return ret;
}
OpenPOWER on IntegriCloud