|
@@ -182,7 +182,8 @@ static bool can_stop_full_tick(void)
|
|
|
* Don't allow the user to think they can get
|
|
|
* full NO_HZ with this machine.
|
|
|
*/
|
|
|
- WARN_ONCE(1, "NO_HZ FULL will not work with unstable sched clock");
|
|
|
+ WARN_ONCE(have_nohz_full_mask,
|
|
|
+ "NO_HZ FULL will not work with unstable sched clock");
|
|
|
return false;
|
|
|
}
|
|
|
#endif
|
|
@@ -343,8 +344,6 @@ static int tick_nohz_init_all(void)
|
|
|
|
|
|
void __init tick_nohz_init(void)
|
|
|
{
|
|
|
- int cpu;
|
|
|
-
|
|
|
if (!have_nohz_full_mask) {
|
|
|
if (tick_nohz_init_all() < 0)
|
|
|
return;
|