mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
epoch: move epoch variables to read mostly section
This commit is contained in:
parent
891cf3ed44
commit
d71e30de40
1 changed files with 2 additions and 2 deletions
|
|
@ -104,8 +104,8 @@
|
|||
_Static_assert(sizeof(((struct ifreq *)0)->ifr_name) ==
|
||||
offsetof(struct ifreq, ifr_ifru), "gap between ifr_name and ifr_ifru");
|
||||
|
||||
epoch_t net_epoch_preempt;
|
||||
epoch_t net_epoch;
|
||||
__read_mostly epoch_t net_epoch_preempt;
|
||||
__read_mostly epoch_t net_epoch;
|
||||
#ifdef COMPAT_FREEBSD32
|
||||
#include <sys/mount.h>
|
||||
#include <compat/freebsd32/freebsd32.h>
|
||||
|
|
|
|||
Loading…
Reference in a new issue