diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-03-19 06:53:53 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-03-25 22:35:14 -0400 |
commit | 17e638bc28f2fdc9c0d3eebfb80fce43827b8d12 (patch) | |
tree | baedb1e3e83358ea41331d763dcca560ea4f8e2a /arch/powerpc/Kconfig | |
parent | ec5f77e789a02adf7c45f03a76455b4e71ae1c5b (diff) |
[POWERPC] Generic time suspend/resume code
This removes the time suspend/restore code that was done through
a PMU notifier in arch/platforms/powermac/time.c.
Instead, introduce arch/powerpc/sysdev/timer.c which creates a sys
device and handles time of day suspend/resume through that.
This should probably be replaced by using the generic RTC framework
but for now it gets rid of the arcane powermac specific hack.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index e7205273ff37..ec092b7ea242 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -11,6 +11,11 @@ config PPC64 | |||
11 | This option selects whether a 32-bit or a 64-bit kernel | 11 | This option selects whether a 32-bit or a 64-bit kernel |
12 | will be built. | 12 | will be built. |
13 | 13 | ||
14 | config PPC_PM_NEEDS_RTC_LIB | ||
15 | bool | ||
16 | select RTC_LIB | ||
17 | default y if PM | ||
18 | |||
14 | config PPC32 | 19 | config PPC32 |
15 | bool | 20 | bool |
16 | default y if !PPC64 | 21 | default y if !PPC64 |