Set PAGE_SIZE for _SC_PAGESIZE sysconf().

This commit is contained in:
dufault 1998-06-01 21:54:43 +00:00
parent 09e640d1b3
commit cfe0052eea
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);