• Tony Breeds's avatar
    [POWERPC] Fix panic in RTAS code · a0c7ce9c
    Tony Breeds authored
    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."
    (79c0108d).
    
    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: default avatarTony Breeds <tony@bakeyournoodle.com>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    a0c7ce9c
rtasd.c 12.2 KB