sched: allow architectures to specify sched_clock_stable
authorIngo Molnar <mingo@elte.hu>
Thu, 26 Feb 2009 19:20:29 +0000 (20:20 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 26 Feb 2009 20:20:22 +0000 (21:20 +0100)
commitb342501cd31e5546d0c9ca8ceff5ded1832f9e5b
tree3cd5778565a45a74e8ad0640093927a77d4d625e
parent694593e3374a67d95ece6a275a1f181644c2c4d8
sched: allow architectures to specify sched_clock_stable

Allow CONFIG_HAVE_UNSTABLE_SCHED_CLOCK architectures to still specify
that their sched_clock() implementation is reliable.

This will be used by x86 to switch on a faster sched_clock_cpu()
implementation on certain CPU types.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/sched.h
kernel/sched_clock.c