mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-20 00:33:57 +00:00
Set PAGE_SIZE for _SC_PAGESIZE sysconf().
This commit is contained in:
parent
d4a7e4ca5d
commit
ce47711dee
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=36578
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue