summaryrefslogtreecommitdiffstats
path: root/kernel/time
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2016-01-11 17:40:31 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-01-15 22:34:39 +0100
commit46373a15f65fe862f31c19a484acdf551f2b442f (patch)
tree8d51c3edb900849b9bd24186ac32e9fe2cd6b75c /kernel/time
parentcpuidle: menu: Fix menu_select() for CPUIDLE_DRIVER_STATE_START == 0 (diff)
downloadlinux-46373a15f65fe862f31c19a484acdf551f2b442f.tar.xz
linux-46373a15f65fe862f31c19a484acdf551f2b442f.zip
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>
Diffstat (limited to 'kernel/time')
-rw-r--r--kernel/time/tick-sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index 7c7ec4515983..edfea95c39db 100644
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -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