diff options
author | Helge Deller <deller@gmx.de> | 2016-11-22 18:08:30 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2016-11-25 12:31:58 +0100 |
commit | 43b1f6abd59063a088416a0df042b36450f91f75 (patch) | |
tree | 1b87f1a0711ecea21627aa25d9fe1a48398b7286 /arch/parisc/Kconfig | |
parent | parisc: Fix races in parisc_setup_cache_timing() (diff) | |
download | linux-43b1f6abd59063a088416a0df042b36450f91f75.tar.xz linux-43b1f6abd59063a088416a0df042b36450f91f75.zip |
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 <deller@gmx.de>
Cc: <stable@vger.kernel.org> # v4.7+
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/Kconfig')
-rw-r--r-- | arch/parisc/Kconfig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index 71c4a3aa3752..a14b86587013 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig @@ -34,7 +34,9 @@ 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 GENERIC_CLOCKEVENTS select ARCH_NO_COHERENT_DMA_MMAP select CPU_NO_EFFICIENT_FFS |