]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/timer.c
nohz: Rename CONFIG_NO_HZ to CONFIG_NO_HZ_COMMON
[karo-tx-linux.git] / kernel / timer.c
index 4e3040b40d162834e471fe1a1cb8faa6558b8e32..1b7489fdea419410300b053677b6169ff0802c8c 100644 (file)
@@ -738,7 +738,7 @@ __mod_timer(struct timer_list *timer, unsigned long expires,
 
        cpu = smp_processor_id();
 
-#if defined(CONFIG_NO_HZ) && defined(CONFIG_SMP)
+#if defined(CONFIG_NO_HZ_COMMON) && defined(CONFIG_SMP)
        if (!pinned && get_sysctl_timer_migration() && idle_cpu(cpu))
                cpu = get_nohz_timer_target();
 #endif
@@ -1188,7 +1188,7 @@ static inline void __run_timers(struct tvec_base *base)
        spin_unlock_irq(&base->lock);
 }
 
-#ifdef CONFIG_NO_HZ
+#ifdef CONFIG_NO_HZ_COMMON
 /*
  * Find out when the next timer event is due to happen. This
  * is used on S/390 to stop all activity when a CPU is idle.