diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2007-10-07 07:35:46 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-10-09 21:01:58 +1000 |
commit | d7b98e3dd87b4512462f6cdfe646a8e59673e62e (patch) | |
tree | e75ad71fca09dd7561528b9e2039ee8f03353b40 /arch/powerpc/platforms/ps3/platform.h | |
parent | 418ef2094eb8b0916d6cbda10e2ab857b9f64d97 (diff) |
[POWERPC] PS3: Add os-area rtc_diff set/get routines
Updates for PS3 os-area rtc_diff set/get routines
o Add a new routine ps3_os_area_set_rtc_diff().
o Rename ps3_os_area_rtc_diff() to ps3_os_area_get_rtc_diff().
o Remove static variable rtc_shift with calls to ps3_os_area_get_rtc_diff().
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/ps3/platform.h')
-rw-r--r-- | arch/powerpc/platforms/ps3/platform.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/ps3/platform.h b/arch/powerpc/platforms/ps3/platform.h index 9109c313e49..6b4f4dd2d15 100644 --- a/arch/powerpc/platforms/ps3/platform.h +++ b/arch/powerpc/platforms/ps3/platform.h @@ -63,7 +63,8 @@ int ps3_set_rtc_time(struct rtc_time *time); /* os area */ void __init ps3_os_area_save_params(void); -u64 ps3_os_area_rtc_diff(void); +u64 ps3_os_area_get_rtc_diff(void); +void ps3_os_area_set_rtc_diff(u64 rtc_diff); /* spu */ |