time: nohz: Expose tick_nohz_enabled
The cpuidle subsystem needs it. Signed-off-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
9c4b2867ed
commit
46373a15f6
2 changed files with 3 additions and 1 deletions
|
|
@ -387,7 +387,7 @@ void __init tick_nohz_init(void)
|
|||
/*
|
||||
* NO HZ enabled ?
|
||||
*/
|
||||
static int tick_nohz_enabled __read_mostly = 1;
|
||||
int tick_nohz_enabled __read_mostly = 1;
|
||||
unsigned long tick_nohz_active __read_mostly;
|
||||
/*
|
||||
* Enable / Disable tickless mode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue