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:Roland Dreier <rolandd@cisco.com>
Showing
- drivers/net/mlx4/cq.c 1 addition, 1 deletiondrivers/net/mlx4/cq.c
- drivers/net/mlx4/eq.c 6 additions, 7 deletionsdrivers/net/mlx4/eq.c
- drivers/net/mlx4/main.c 21 additions, 17 deletionsdrivers/net/mlx4/main.c
- drivers/net/mlx4/mcg.c 1 addition, 1 deletiondrivers/net/mlx4/mcg.c
- drivers/net/mlx4/mr.c 1 addition, 1 deletiondrivers/net/mlx4/mr.c
- drivers/net/mlx4/pd.c 1 addition, 1 deletiondrivers/net/mlx4/pd.c
- drivers/net/mlx4/qp.c 1 addition, 1 deletiondrivers/net/mlx4/qp.c
- drivers/net/mlx4/srq.c 1 addition, 1 deletiondrivers/net/mlx4/srq.c
Loading
Please register or sign in to comment