aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-05-08 03:36:13 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-05-08 03:36:13 -0400
commit6d134b9e8d3f32331ad2faca2db8186f54198931 (patch)
tree1b778b8e3088f4d5f44db0728693fdf02f3d158f /arch/sh/Kconfig
parentb179b72fad5c88c3b616fb88a9ae7cbbc1a750d3 (diff)
sh: Wire up GENERIC_CMOS_UPDATE for the platforms that need it.
Now that everything has converted over to generic timekeeping, we need an alternate method for keeping the RTC updated for those platforms that are still using the rtc_sh_get/set_time pairs, presently limited to SH-03 and the Dreamcast. This wires up the GENERIC_CMOS_UPDATE hooks for those to maintain the same behaviour. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r--arch/sh/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index ca5c09b241c3..d88a61b11d32 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -83,6 +83,10 @@ config GENERIC_CLOCKEVENTS
83config GENERIC_CLOCKEVENTS_BROADCAST 83config GENERIC_CLOCKEVENTS_BROADCAST
84 bool 84 bool
85 85
86config GENERIC_CMOS_UPDATE
87 def_bool y
88 depends on SH_SH03 || SH_DREAMCAST
89
86config GENERIC_LOCKBREAK 90config GENERIC_LOCKBREAK
87 def_bool y 91 def_bool y
88 depends on SMP && PREEMPT 92 depends on SMP && PREEMPT