diff options
author | Roland Dreier <rolandd@cisco.com> | 2007-10-11 00:43:54 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-10-11 00:43:54 +0200 |
commit | 3d73c2884f45f9a297cbc956cea101405a9703f2 (patch) | |
tree | 2811672910ba925916e568f5275e0be630bec2ca /drivers/net/mlx4/qp.c | |
parent | IPoIB: Allow setting policy to ignore multicast groups (diff) | |
download | linux-3d73c2884f45f9a297cbc956cea101405a9703f2.tar.xz linux-3d73c2884f45f9a297cbc956cea101405a9703f2.zip |
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>
Diffstat (limited to 'drivers/net/mlx4/qp.c')
-rw-r--r-- | drivers/net/mlx4/qp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mlx4/qp.c b/drivers/net/mlx4/qp.c index 278414b2d01c..cc4b1be18219 100644 --- a/drivers/net/mlx4/qp.c +++ b/drivers/net/mlx4/qp.c @@ -251,7 +251,7 @@ static int mlx4_CONF_SPECIAL_QP(struct mlx4_dev *dev, u32 base_qpn) MLX4_CMD_TIME_CLASS_B); } -int __devinit mlx4_init_qp_table(struct mlx4_dev *dev) +int mlx4_init_qp_table(struct mlx4_dev *dev) { struct mlx4_qp_table *qp_table = &mlx4_priv(dev)->qp_table; int err; |