mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04: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
This commit is contained in:
parent
eaed922eda
commit
12d6a032df
1 changed files with 2 additions and 2 deletions
|
|
@ -226,8 +226,8 @@ SYSCTL_INT(_kern, OID_AUTO, kerneldump_gzlevel, CTLFLAG_RWTUN,
|
|||
*/
|
||||
const char *panicstr __read_mostly;
|
||||
|
||||
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