diff options
author | Karl Hiramoto <karl@hiramoto.org> | 2010-09-23 01:50:54 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-26 18:29:18 -0700 |
commit | a3d6713fbd2ccb50898a6f88664da96a7857c039 (patch) | |
tree | e772805828ad8c862c10b1845878baffbb11248e /block/blk-core.c | |
parent | ca9a783575d2affed30ef27a3427a7705527ddac (diff) | |
download | op-kernel-dev-a3d6713fbd2ccb50898a6f88664da96a7857c039.zip op-kernel-dev-a3d6713fbd2ccb50898a6f88664da96a7857c039.tar.gz |
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>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions