summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>2009-02-24 14:04:20 +0100
committerKyle McMartin <kyle@mcmartin.ca>2009-04-02 01:05:32 +0000
commit0b5f037a4dc495f9c40eed7f076fc6c23af3359b (patch)
tree0b4f3388c2ad47ba2310e3e8c1feafcd800f2e72 /arch/powerpc/include
parentbcd68a70cb0eee556d86d93133aa150319bd9f53 (diff)
downloadop-kernel-dev-0b5f037a4dc495f9c40eed7f076fc6c23af3359b.zip
op-kernel-dev-0b5f037a4dc495f9c40eed7f076fc6c23af3359b.tar.gz
powerpc/ps3: Add rtc-ps3
Create a real RTC driver for PS3, and unhook the deprecated ppc_md.[gs]et_rtc_time. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Acked-by: Alessandro Zummo <a.zummo@towertech.it> Acked-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/ps3.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/ps3.h b/arch/powerpc/include/asm/ps3.h
index 67f1812..cdb6fd8 100644
--- a/arch/powerpc/include/asm/ps3.h
+++ b/arch/powerpc/include/asm/ps3.h
@@ -50,6 +50,9 @@ enum ps3_param_av_multi_out {
enum ps3_param_av_multi_out ps3_os_area_get_av_multi_out(void);
+extern u64 ps3_os_area_get_rtc_diff(void);
+extern void ps3_os_area_set_rtc_diff(u64 rtc_diff);
+
/* dma routines */
enum ps3_dma_page_size {
OpenPOWER on IntegriCloud