[PATCH] ppc64: pSeries_progress -> rtas_progress
commit6566c6f1f18d42affe73ccdd403e290b64d10473
authorArnd Bergmann <arnd@arndb.de>
Wed, 22 Jun 2005 23:43:28 +0000 (23 09:43 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 22 Jun 2005 23:43:28 +0000 (23 09:43 +1000)
tree9c9cdea21d05e52a60044abf339e9750c6760f0a
parentc5a3c2e52af1bcb118022ffac9a0fd1d42d43bd3
[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>
arch/ppc64/kernel/pSeries_setup.c
arch/ppc64/kernel/rtas-proc.c
arch/ppc64/kernel/rtas.c
include/asm-ppc64/rtas.h