]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Fix automatic selection of cr16 clocksource
authorHelge Deller <deller@gmx.de>
Fri, 19 Aug 2016 20:39:02 +0000 (22:39 +0200)
committerHelge Deller <deller@gmx.de>
Sat, 20 Aug 2016 11:33:51 +0000 (13:33 +0200)
commit713fbad48cb05ad9ac9da48a548a2b2fac85b99e
treefd979258426d4387ef492955b03649118e84c5ef
parenta19fceb69f9d0ae4d442484200090e0739d6aea2
parisc: Fix automatic selection of cr16 clocksource

Commit 5d57cfdfb11 (parisc: Add native high-resolution sched_clock()
implementation) added support to use the CPU-internal cr16 counters as reliable
clocksource with the help of HAVE_UNSTABLE_SCHED_CLOCK.

Sadly the commit missed to remove the hack which prevented cr16 to become the
default clocksource even on SMP systems.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org # 4.7+
arch/parisc/kernel/processor.c
arch/parisc/kernel/time.c