diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2005-11-14 15:49:48 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-14 16:36:08 +1100 |
commit | 3136254ca5dfaf53486f7032c674f9b6d7fd1d53 (patch) | |
tree | 101934218e83511dc2783e02d1a458ec85d98da9 /arch/powerpc/platforms | |
parent | 0c37ec2aa88bd8a6aaeb284ff5c86f4c6d8e8469 (diff) | |
download | op-kernel-dev-3136254ca5dfaf53486f7032c674f9b6d7fd1d53.zip op-kernel-dev-3136254ca5dfaf53486f7032c674f9b6d7fd1d53.tar.gz |
[PATCH] powerpc: kill ppc64 rtc.c, use genrtc instead
This moves the rtas RTC callbacks to rtas-rtc.c in arch/powerpc/kernel,
and kills the rest of arch/ppc64/kernel/rtc.c which was just a duplicate
of the genrtc functionality. Also enable build of genrtc for
CONFIG_PPC64 (it just works are we already have the required callbacks)
and enable it in all defconfigs.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/powermac/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powermac/time.c b/arch/powerpc/platforms/powermac/time.c index 4c7682a..b1714f9 100644 --- a/arch/powerpc/platforms/powermac/time.c +++ b/arch/powerpc/platforms/powermac/time.c @@ -199,7 +199,7 @@ static unsigned long smu_get_time(void) #define smu_set_rtc_time(tm, spin) 0 #endif -unsigned long pmac_get_boot_time(void) +unsigned long __init pmac_get_boot_time(void) { /* Get the time from the RTC, used only at boot time */ switch (sys_ctrler) { |