• M
    [PATCH] powerpc: iseries: mf related cleanups · 260de22f
    Michael Ellerman 提交于
    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: NMichael Ellerman <michael@ellerman.id.au>
    Signed-off-by: NPaul Mackerras <paulus@samba.org>
    260de22f
mf.c 31.4 KB