• Arnd Bergmann's avatar
    [PATCH] ppc64: pSeries_progress -> rtas_progress · 6566c6f1
    Arnd Bergmann authored
    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: default avatarArnd Bergmann <arndb@de.ibm.com>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    6566c6f1
rtas-proc.c 22.1 KB