From: Ingo Molnar Date: Mon, 5 May 2008 21:19:50 +0000 (+0200) Subject: sched, x86: add HAVE_UNSTABLE_SCHED_CLOCK X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a5574cf65b5f03ce9ade3918764fe22e5e2371e3;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git sched, x86: add HAVE_UNSTABLE_SCHED_CLOCK add the HAVE_UNSTABLE_SCHED_CLOCK, for architectures to select. the next change utilizes it. Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 845ea2b2d487..bbcafaa160c0 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -18,6 +18,7 @@ config X86_64 ### Arch settings config X86 def_bool y + select HAVE_UNSTABLE_SCHED_CLOCK select HAVE_IDE select HAVE_OPROFILE select HAVE_KPROBES diff --git a/init/Kconfig b/init/Kconfig index f0e62e5ce0dc..fa42e6b549d3 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -316,6 +316,12 @@ config CPUSETS Say N if unsure. +# +# Architectures with an unreliable sched_clock() should select this: +# +config HAVE_UNSTABLE_SCHED_CLOCK + bool + config GROUP_SCHED bool "Group CPU scheduler" default y