]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sched, x86: add HAVE_UNSTABLE_SCHED_CLOCK
authorIngo Molnar <mingo@elte.hu>
Mon, 5 May 2008 21:19:50 +0000 (23:19 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 May 2008 21:56:18 +0000 (23:56 +0200)
add the HAVE_UNSTABLE_SCHED_CLOCK, for architectures to select.

the next change utilizes it.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/Kconfig
init/Kconfig

index 845ea2b2d48732f54cd9526f1588f5270d2511c7..bbcafaa160c04f566c470a0978cba652669c4fa9 100644 (file)
@@ -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
index f0e62e5ce0dc03fa8cdc1b19990f178d5e22fc8e..fa42e6b549d3537e9b53fe31627d42f1b5137968 100644 (file)
@@ -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