mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Set PAGE_SIZE for _SC_PAGESIZE sysconf().
This commit is contained in:
parent
d4a7e4ca5d
commit
ce47711dee
2 changed files with 2 additions and 0 deletions
|
|
@ -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