summaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/rtas-proc.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2005-06-23 09:43:28 +1000
committerPaul Mackerras <paulus@samba.org>2005-06-23 09:43:28 +1000
commit6566c6f1f18d42affe73ccdd403e290b64d10473 (patch)
tree9c9cdea21d05e52a60044abf339e9750c6760f0a /arch/ppc64/kernel/rtas-proc.c
parentc5a3c2e52af1bcb118022ffac9a0fd1d42d43bd3 (diff)
downloadkernel-crypto-6566c6f1f18d42affe73ccdd403e290b64d10473.tar.gz
kernel-crypto-6566c6f1f18d42affe73ccdd403e290b64d10473.tar.xz
kernel-crypto-6566c6f1f18d42affe73ccdd403e290b64d10473.zip
[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 'arch/ppc64/kernel/rtas-proc.c')
-rw-r--r--arch/ppc64/kernel/rtas-proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc64/kernel/rtas-proc.c b/arch/ppc64/kernel/rtas-proc.c
index 28b1f1521f2..1f3ff860fdf 100644
--- a/arch/ppc64/kernel/rtas-proc.c
+++ b/arch/ppc64/kernel/rtas-proc.c
@@ -371,11 +371,11 @@ static ssize_t ppc_rtas_progress_write(struct file *file,
/* Lets see if the user passed hexdigits */
hex = simple_strtoul(progress_led, NULL, 10);
- ppc_md.progress ((char *)progress_led, hex);
+ rtas_progress ((char *)progress_led, hex);
return count;
/* clear the line */
- /* ppc_md.progress(" ", 0xffff);*/
+ /* rtas_progress(" ", 0xffff);*/
}
/* ****************************************************************** */
static int ppc_rtas_progress_show(struct seq_file *m, void *v)