[POWERPC] Generic time suspend/resume code
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 19 Mar 2007 10:53:53 +0000 (11:53 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 26 Mar 2007 02:35:14 +0000 (12:35 +1000)
commit17e638bc28f2fdc9c0d3eebfb80fce43827b8d12
treebaedb1e3e83358ea41331d763dcca560ea4f8e2a
parentec5f77e789a02adf7c45f03a76455b4e71ae1c5b
[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>
arch/powerpc/Kconfig
arch/powerpc/platforms/powermac/time.c
arch/powerpc/sysdev/Makefile
arch/powerpc/sysdev/timer.c [new file with mode: 0644]