diff options
author | Arnd Bergmann <arnd@arndb.de> | 2005-06-23 03:43:28 +0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-06-23 03:43:28 +0400 |
commit | 6566c6f1f18d42affe73ccdd403e290b64d10473 (patch) | |
tree | 9c9cdea21d05e52a60044abf339e9750c6760f0a /include/asm-ppc64 | |
parent | c5a3c2e52af1bcb118022ffac9a0fd1d42d43bd3 (diff) | |
download | linux-6566c6f1f18d42affe73ccdd403e290b64d10473.tar.xz |
[PATCH] ppc64: pSeries_progress -> rtas_progress
The pSeries_progress function is called from some places in the rtas code,
which may also be used by non-pSeries platforms.
Though pSeries is currently the only platform type that implements
display-character, the code is actually generic enough to be part of
the rtas subsystem.
I hit a bug here because the generic rtas code tried calling ppc_md.progress,
which points to an __init function on most platforms.
We could also clear the ppc_md.progress pointer when freeing the init memory
to make it more explicit that ppc_md.progress must not be called after
bootup.
Signed-off-by: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc64')
-rw-r--r-- | include/asm-ppc64/rtas.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-ppc64/rtas.h b/include/asm-ppc64/rtas.h index c46ceb2ffc12..e7d1b5222802 100644 --- a/include/asm-ppc64/rtas.h +++ b/include/asm-ppc64/rtas.h @@ -186,6 +186,7 @@ extern int rtas_get_sensor(int sensor, int index, int *state); extern int rtas_get_power_level(int powerdomain, int *level); extern int rtas_set_power_level(int powerdomain, int level, int *setlevel); extern int rtas_set_indicator(int indicator, int index, int new_value); +extern void rtas_progress(char *s, unsigned short hex); extern void rtas_initialize(void); struct rtc_time; |