Skip to content
Commit 3d73c288 authored by Roland Dreier's avatar Roland Dreier
Browse files

mlx4_core: Fix section mismatches

    
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>
parent 335a64a5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment