mlx4_core: Fix more section mismatches
Commit 3d73c288
("mlx4_core: Fix section mismatches") fixed some of
the section mismatches introduced when error recovery was added, but
there were still more cases of errory recovery code calling into
__devinit code from regular .text. Fix this by getting rid of the
now-incorrect __devinit annotations.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
This commit is contained in:
@ -122,7 +122,7 @@ static void mlx4_buddy_free(struct mlx4_buddy *buddy, u32 seg, int order)
|
||||
spin_unlock(&buddy->lock);
|
||||
}
|
||||
|
||||
static int __devinit mlx4_buddy_init(struct mlx4_buddy *buddy, int max_order)
|
||||
static int mlx4_buddy_init(struct mlx4_buddy *buddy, int max_order)
|
||||
{
|
||||
int i, s;
|
||||
|
||||
|
Reference in New Issue
Block a user