summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@libc.org>2016-05-26 22:18:52 +0000
committerRich Felker <dalias@libc.org>2016-06-08 00:35:29 +0000
commit4acc0f09b3d3bedb49d4e0b1ef2c7e79cbfc2a35 (patch)
tree465ba39d7417154b25809bd94c666e54666476ef
parent24d7c4dbfe1e570e150d013cddc95311baf70c6f (diff)
downloadlinux-sh-4acc0f09b3d3bedb49d4e0b1ef2c7e79cbfc2a35.tar.gz
sh: allow clocksource drivers to register sched_clock backends
There is no arch-specific sched_clock implementation for sh, resulting in use of the old default jiffies-based implementation. Instead, use the modern generic sched_clock framework so that drivers can register better backends. Signed-off-by: Rich Felker <dalias@libc.org>
-rw-r--r--arch/sh/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index d06cac14236c..6b249f728f2b 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -38,6 +38,7 @@ config SUPERH
select GENERIC_IDLE_POLL_SETUP
select GENERIC_CLOCKEVENTS
select GENERIC_CMOS_UPDATE if SH_SH03 || SH_DREAMCAST
+ select GENERIC_SCHED_CLOCK
select GENERIC_STRNCPY_FROM_USER
select GENERIC_STRNLEN_USER
select HAVE_MOD_ARCH_SPECIFIC if DWARF_UNWINDER