]> git.karo-electronics.de Git - linux-beck.git/commit
mlx4_core: Fix section mismatches
authorRoland Dreier <rolandd@cisco.com>
Wed, 10 Oct 2007 22:43:54 +0000 (15:43 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 10 Oct 2007 22:43:54 +0000 (15:43 -0700)
commit3d73c2884f45f9a297cbc956cea101405a9703f2
tree2811672910ba925916e568f5275e0be630bec2ca
parent335a64a5a958002bc238c90de695e120c3c8c120
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>
drivers/net/mlx4/cq.c
drivers/net/mlx4/eq.c
drivers/net/mlx4/main.c
drivers/net/mlx4/mcg.c
drivers/net/mlx4/mr.c
drivers/net/mlx4/pd.c
drivers/net/mlx4/qp.c
drivers/net/mlx4/srq.c