Fixed kernel crash when removing IPOIB_CM option from configuration file
Changed module init from module_init() to module_init_order() with SI_ORDER_MIDDLE flag Submitted by: Orit Moskovich (oritm mellanox.com) Approved by: re
This commit is contained in:
parent
689b653e06
commit
282d961db9
@ -2431,7 +2431,7 @@ static void __exit mlx4_ib_cleanup(void)
|
||||
|
||||
}
|
||||
|
||||
module_init(mlx4_ib_init);
|
||||
module_init_order(mlx4_ib_init, SI_ORDER_MIDDLE);
|
||||
module_exit(mlx4_ib_cleanup);
|
||||
|
||||
#undef MODULE_VERSION
|
||||
|
@ -2859,7 +2859,7 @@ static void __exit mlx4_cleanup(void)
|
||||
destroy_workqueue(mlx4_wq);
|
||||
}
|
||||
|
||||
module_init(mlx4_init);
|
||||
module_init_order(mlx4_init, SI_ORDER_MIDDLE);
|
||||
module_exit(mlx4_cleanup);
|
||||
|
||||
#undef MODULE_VERSION
|
||||
|
Loading…
Reference in New Issue
Block a user