]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
parisc: Fix self-detected CPU stall warnings on Mako machines
authorHelge Deller <deller@gmx.de>
Sat, 24 Sep 2016 20:22:12 +0000 (22:22 +0200)
committerHelge Deller <deller@gmx.de>
Sun, 25 Sep 2016 19:27:01 +0000 (21:27 +0200)
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 <deller@gmx.de>
Cc: stable@vger.kernel.org # 4.7+
arch/parisc/kernel/time.c

index 4b0b963d52a757e83674149f4162faf3eafb7456..9b63b876a13a4b6ad422f7ae69fc49fed70eb1be 100644 (file)
@@ -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
-
        mtctl(next_tick, 16);           /* kick off Interval Timer (CR16) */
 
        per_cpu(cpu_data, cpu).it_value = next_tick;