mirror of
https://github.com/opnsense/src.git
synced 2026-02-19 02:30:08 -05:00
Annotate 'rebooting' with __read_mostly
While here, put such annotation after the variable for 'dumping', since it concerns the variable and not the type. Reviewed by: markj Approved by: markj (mentor) MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D43570 (cherry picked from commit 12d6a032dff10fad72f7d3f1bb5cb4c53b9c4284) Approved by: markj (mentor)
This commit is contained in:
parent
f8c7bbd1c9
commit
261f70ffc8
1 changed files with 2 additions and 2 deletions
|
|
@ -229,8 +229,8 @@ SYSCTL_INT(_kern, OID_AUTO, kerneldump_gzlevel, CTLFLAG_RWTUN,
|
|||
const char *panicstr;
|
||||
bool __read_frequently panicked;
|
||||
|
||||
int __read_mostly dumping; /* system is dumping */
|
||||
int rebooting; /* system is rebooting */
|
||||
int dumping __read_mostly; /* system is dumping */
|
||||
int rebooting __read_mostly; /* system is rebooting */
|
||||
/*
|
||||
* Used to serialize between sysctl kern.shutdown.dumpdevname and list
|
||||
* modifications via ioctl.
|
||||
|
|
|
|||
Loading…
Reference in a new issue