parisc: Fix self-detected CPU stall warnings on Mako machines
Helge Deller
maintainerPATCH 1/1 parisc: Fix self-detected CPU stall warnings on Mako machines
The config option HAVE_UNSTABLE_SCHED_CLOCK is set automatically when compiling for SMP. There is no need to clear the stable-clock flag via clear_sched_clock_stable() when starting secondary CPUs, and even worse, clearing it triggers wrong self-detected CPU stall warnings on 64bit Mako machines.
Signed-off-by Helge Deller <[email protected]>
Cc [email protected] # 4.7+
arch/parisc/kernel/time.c +0 -5
@@ -226,12 +226,6 @@ void __init start_cpu_itimer(void)unsigned int cpu =smp_processor_id ();unsigned long next_tick =mfctl (16 ) + clocktick; -#if defined(CONFIG_HAVE_UNSTABLE_SCHED_CLOCK ) && defined(CONFIG_64BIT ) -/* With multiple 64bit CPUs online, the cr16's are not syncronized. */ -if (cpu !=0 ) -clear_sched_clock_stable (); -#endif