Skip to contentSkip to conversation

parisc: Switch to GENERIC_SCHED_CLOCK implementation

PATCH New Helge Deller 1 participant 1 message Nov 22, 2016 PA-RISC architecture

lore
Share & tools
lore

Helge Deller

author maintainer
#0 lore raw

PATCH 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.

arch/parisc/Kconfig +2 -1
index 71c4a3a..05c8980 100644
@@ -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