• Michael Ellerman's avatar
    [PATCH] powerpc: iseries: mf related cleanups · 260de22f
    Michael Ellerman authored
    Some cleanups in the iSeries code.
     - Make mf_display_progress() check mf_initialized rather than the caller.
     - Set mf_initialized in mf_init() rather than in setup.c
     - Then move mf_initialized into mf.c, the only place it's used.
     - Move the mf related logic from iSeries_progress() to mf_display_progress()
     - Use a #define to size the pending_event_prealloc array
     - Use that define in the initialsation loop rather than sizeof jiggery pokery
     - Remove stupid comment(s)
     - Mark stuff static and/or __init
    Signed-off-by: default avatarMichael Ellerman <michael@ellerman.id.au>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    260de22f
mf.h 2.02 KB