]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Fix panic in RTAS code
authorTony Breeds <tony@bakeyournoodle.com>
Wed, 3 Oct 2007 01:19:09 +0000 (11:19 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 3 Oct 2007 05:31:37 +0000 (15:31 +1000)
commita0c7ce9c877ceef8428798ac91fb794f83609aed
treed572e80603e1a9b0e4999bfbc7d30984ea5b1b80
parent2d5f5659649924b86d527a2af2552bab741d1d6f
[POWERPC] Fix panic in RTAS code

Some older pSeries machines were panicking in pSeries_log_error
because it was getting called before it was ready.  This is a result
of commit "[POWERPC] pseries: Fix jumbled no_logging flag."
(79c0108d1b9db4864ab77b2a95dfa04f2dcf264c).

This fixes it by explicitly enabling RTAS error logging when it has
been initialized, and also makes the code clearer by renaming the
"no_more_logging" variable to "logging_enabled".

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/rtasd.c