summaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig
diff options
context:
space:
mode:
authorRich Felker2016-05-27 00:18:52 +0200
committerRich Felker2016-07-31 05:33:32 +0200
commitb46ed37042fa21ce3e888310462902044df98321 (patch)
treeef741d418d7893f75cd9dab21aede4f67d35ba64 /arch/sh/Kconfig
parentsh: make heartbeat driver explicitly non-modular (diff)
downloadkernel-qcow2-linux-b46ed37042fa21ce3e888310462902044df98321.tar.gz
kernel-qcow2-linux-b46ed37042fa21ce3e888310462902044df98321.tar.xz
kernel-qcow2-linux-b46ed37042fa21ce3e888310462902044df98321.zip
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>
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r--arch/sh/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index e6d88f9e978a..df6339d7bf72 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