[POWERPC] Fix timekeeping on PowerPC 601
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 19 Sep 2007 04:21:56 +0000 (14:21 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 19 Sep 2007 05:26:34 +0000 (15:26 +1000)
commitc27da339698145a9383e052c1070a950d30da478
tree817025c780b6be5d80405c90f4c5fb88086b6cb8
parent7b5acbaac3f94ab810a977c0ec4e5fcabbf51bed
[POWERPC] Fix timekeeping on PowerPC 601

Recent changes to the timekeeping code broke support for the PowerPC 601
processor which doesn't have the usual timebase facility but a slightly
different thing called (yuck) the RTC.

This fixes it, boot tested on an old 601 based PowerMac 7200.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/time.c
include/asm-powerpc/time.h