• Roland Dreier's avatar
    mlx4_core: Fix section mismatches · 3d73c288
    Roland Dreier authored
        
    Commit ee49bd93 ("mlx4_core: Reset device when internal error is
    detected") introduced some section mismatch problems when
    CONFIG_HOTPLUG=n, because the error recovery code tears down and
    reinitializes the device after everything is loaded, which ends up
    calling into lots of code marked __devinit and __devexit from regular
    .text.  Fix this by getting rid of these now-incorrect section
    markers.
    Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
    3d73c288
mcg.c 9.17 KB