diff options
author | Arnd Bergmann <arnd@arndb.de> | 2005-06-22 19:43:18 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-06-22 19:43:18 -0400 |
commit | 773bf9c469c01f01280c9bd45ec2462dd94d08a0 (patch) | |
tree | 3a7969b96d7fcbf11d3ebbb9ef10fb081a448979 /include | |
parent | 10f7e7c15e6ce41799c5dba6925ae4bf8048c870 (diff) |
[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 'include')
-rw-r--r-- | include/asm-ppc64/rtas.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-ppc64/rtas.h b/include/asm-ppc64/rtas.h index a8ab0e9db84a..c46ceb2ffc12 100644 --- a/include/asm-ppc64/rtas.h +++ b/include/asm-ppc64/rtas.h | |||
@@ -188,6 +188,11 @@ extern int rtas_set_power_level(int powerdomain, int level, int *setlevel); | |||
188 | extern int rtas_set_indicator(int indicator, int index, int new_value); | 188 | extern int rtas_set_indicator(int indicator, int index, int new_value); |
189 | extern void rtas_initialize(void); | 189 | extern void rtas_initialize(void); |
190 | 190 | ||
191 | struct rtc_time; | ||
192 | extern void rtas_get_boot_time(struct rtc_time *rtc_time); | ||
193 | extern void rtas_get_rtc_time(struct rtc_time *rtc_time); | ||
194 | extern int rtas_set_rtc_time(struct rtc_time *rtc_time); | ||
195 | |||
191 | /* Given an RTAS status code of 9900..9905 compute the hinted delay */ | 196 | /* Given an RTAS status code of 9900..9905 compute the hinted delay */ |
192 | unsigned int rtas_extended_busy_delay_time(int status); | 197 | unsigned int rtas_extended_busy_delay_time(int status); |
193 | static inline int rtas_is_extended_busy(int status) | 198 | static inline int rtas_is_extended_busy(int status) |