• Roland Dreier's avatar
    IB/mthca: Fix section mismatches · f4f3d0f0
    Roland Dreier authored
    Commit b3b30f5e ("IB/mthca: Recover from catastrophic errors")
    introduced some section mismatch breakage, because the error recovery
    code tears down and reinitializes the device, which calls into lots of
    code originally marked __devinit and __devexit from regular .text.
    
    Fix this by getting rid of these now-incorrect section markers.
    
    Reported by Randy Dunlap <randy.dunlap@oracle.com>.
    Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
    f4f3d0f0
mthca_mad.c 9.49 KB