Karl Hiramoto a3d6713fbd br2684: fix scheduling while atomic
You can't call atomic_notifier_chain_unregister() while in atomic context.

Fix, call un/register_atmdevice_notifier in module __init and __exit.

Bug report:
http://comments.gmane.org/gmane.linux.network/172603

Reported-by: Mikko Vinni <mmvinni@yahoo.com>
Tested-by: Mikko Vinni <mmvinni@yahoo.com>
Signed-off-by: Karl Hiramoto <karl@hiramoto.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-09-26 18:29:18 -07:00
..
2010-08-02 14:28:36 -05:00
2010-09-26 18:29:18 -07:00
2010-08-26 15:18:27 -07:00
2010-09-24 22:26:10 -07:00
2010-07-18 15:07:14 -07:00
2010-06-11 18:37:08 -07:00
2010-09-22 20:25:48 -07:00
2010-09-07 13:57:22 -07:00
2010-06-03 03:21:52 -07:00
2010-05-17 23:23:13 -07:00
2010-04-20 16:37:13 -07:00
2010-09-24 22:26:10 -07:00
2010-09-12 11:56:44 -07:00
2010-09-24 22:26:10 -07:00
2010-05-17 17:39:28 -07:00