Set PAGE_SIZE for _SC_PAGESIZE sysconf().

This commit is contained in:
Peter Dufault 1998-06-01 21:54:43 +00:00
parent d4a7e4ca5d
commit ce47711dee
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=36578
2 changed files with 2 additions and 0 deletions

View File

@ -254,6 +254,7 @@ int sched_rr_get_interval(struct proc *p,
static void p31binit(void *notused)
{
(void) sched_attach();
p31b_setcfg(CTL_P1003_1B_PAGESIZE, PAGE_SIZE);
}
SYSINIT(p31b, SI_SUB_P1003_1B, SI_ORDER_FIRST, p31binit, NULL);

View File

@ -254,6 +254,7 @@ int sched_rr_get_interval(struct proc *p,
static void p31binit(void *notused)
{
(void) sched_attach();
p31b_setcfg(CTL_P1003_1B_PAGESIZE, PAGE_SIZE);
}
SYSINIT(p31b, SI_SUB_P1003_1B, SI_ORDER_FIRST, p31binit, NULL);