summaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/pSeries_setup.c
diff options
context:
space:
mode:
authorArnd Bergmann2005-06-23 01:43:18 +0200
committerPaul Mackerras2005-06-23 01:43:18 +0200
commit773bf9c469c01f01280c9bd45ec2462dd94d08a0 (patch)
tree3a7969b96d7fcbf11d3ebbb9ef10fb081a448979 /arch/ppc64/kernel/pSeries_setup.c
parent[PATCH] ppc64: consolidate calibrate_decr implementations (diff)
downloadkernel-qcow2-linux-773bf9c469c01f01280c9bd45ec2462dd94d08a0.tar.gz
kernel-qcow2-linux-773bf9c469c01f01280c9bd45ec2462dd94d08a0.tar.xz
kernel-qcow2-linux-773bf9c469c01f01280c9bd45ec2462dd94d08a0.zip
[PATCH] ppc64: rename pSeries rtc functions into rtas_*
The rtc rtas functions are not pSeries specific but can also be used by BPA and other SLOF based platforms Signed-off-by: Arnd Bergmann <arndb@de.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc64/kernel/pSeries_setup.c')
-rw-r--r--arch/ppc64/kernel/pSeries_setup.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/ppc64/kernel/pSeries_setup.c b/arch/ppc64/kernel/pSeries_setup.c
index f9a310c0c8d7..c5f3ccac7cd1 100644
--- a/arch/ppc64/kernel/pSeries_setup.c
+++ b/arch/ppc64/kernel/pSeries_setup.c
@@ -73,9 +73,6 @@
extern void pSeries_final_fixup(void);
-extern void pSeries_get_boot_time(struct rtc_time *rtc_time);
-extern void pSeries_get_rtc_time(struct rtc_time *rtc_time);
-extern int pSeries_set_rtc_time(struct rtc_time *rtc_time);
extern void find_udbg_vterm(void);
extern void system_reset_fwnmi(void); /* from head.S */
extern void machine_check_fwnmi(void); /* from head.S */
@@ -534,9 +531,9 @@ struct machdep_calls __initdata pSeries_md = {
.halt = rtas_halt,
.panic = rtas_os_term,
.cpu_die = pSeries_mach_cpu_die,
- .get_boot_time = pSeries_get_boot_time,
- .get_rtc_time = pSeries_get_rtc_time,
- .set_rtc_time = pSeries_set_rtc_time,
+ .get_boot_time = rtas_get_boot_time,
+ .get_rtc_time = rtas_get_rtc_time,
+ .set_rtc_time = rtas_set_rtc_time,
.calibrate_decr = generic_calibrate_decr,
.progress = pSeries_progress,
.check_legacy_ioport = pSeries_check_legacy_ioport,