[PATCH 1/5] powerpc: generic time suspend/resume code

Michael Ellerman michael at ellerman.id.au
Wed May 2 15:02:23 EST 2007


On Mon, 2007-03-19 at 11:53 +0100, Johannes Berg wrote:
> plain text document attachment (001-time-resume.patch)
> This patch 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 at sipsolutions.net>
> Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>

This seems to break prep_defconfig:

timer.c:(.text+0x28c): undefined reference to `rtc_tm_to_time'
timer.c:(.text+0x38c): undefined reference to `rtc_tm_to_time'
make[1]: *** [.tmp_vmlinux1] Error 1

cheers

-- 
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20070502/53387adf/attachment.pgp>


More information about the Linuxppc-dev mailing list