parisc: Switch to GENERIC_SCHED_CLOCK implementation
Helge Deller
maintainerPATCH 1/1 parisc: Switch to GENERIC_SCHED_CLOCK implementation
Drop the open-coded sched_clock() function and replace it by the provided GENERIC_SCHED_CLOCK implementation. We have seen quite some hung tasks in the past, which seem to be fixed by this patch.
Signed-off-by Helge Deller <[email protected]>
arch/parisc/Kconfig +2 -1
@@ -34,7 +34,8 @@ config PARISC select HAVE_ARCH_HASH select HAVE_ARCH_SECCOMP_FILTER select HAVE_ARCH_TRACEHOOK - select HAVE_UNSTABLE_SCHED_CLOCK if (SMP || !64BIT) + select GENERIC_SCHED_CLOCK + select HAVE_UNSTABLE_SCHED_CLOCK if SMP select ARCH_NO_COHERENT_DMA_MMAP select CPU_NO_EFFICIENT_FFS
arch/parisc/kernel/time.c +5 -44
85 lines not on this page · raw message