mirror of
https://github.com/opnsense/src.git
synced 2026-04-26 08:37:50 -04:00
Fix init order in the LinuxKPI for IDR support after recent changes.
CPU_FOREACH() is not available until SI_SUB_CPU at SI_ORDER_ANY when the LinuxKPI is loaded as part of the kernel. MFC after: 1 week Sponsored by: Mellanox Technologies
This commit is contained in:
parent
c384464d25
commit
25b3ef2c99
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ idr_preload_init(void *arg)
|
|||
spin_lock_init(&lic->lock);
|
||||
}
|
||||
}
|
||||
SYSINIT(idr_preload_init, SI_SUB_LOCK, SI_ORDER_FIRST, idr_preload_init, NULL);
|
||||
SYSINIT(idr_preload_init, SI_SUB_CPU, SI_ORDER_ANY, idr_preload_init, NULL);
|
||||
|
||||
static void
|
||||
idr_preload_uninit(void *arg)
|
||||
|
|
|
|||
Loading…
Reference in a new issue