diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2010-10-25 13:01:55 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-26 11:34:09 -0700 |
commit | f2dc0d1809ab7e0147c7e4ac837be1682f706538 (patch) | |
tree | 1b97e8fda5b7893cf3e227f091b91c92e8cc8334 /drivers/atm | |
parent | 78fd9c4491a9c4cf8b401f1c5a516d3d28d3b42b (diff) | |
download | kernel_samsung_tuna-f2dc0d1809ab7e0147c7e4ac837be1682f706538.zip kernel_samsung_tuna-f2dc0d1809ab7e0147c7e4ac837be1682f706538.tar.gz kernel_samsung_tuna-f2dc0d1809ab7e0147c7e4ac837be1682f706538.tar.bz2 |
tg3: Do not call device_set_wakeup_enable() under spin_lock_bh
The tg3 driver calls device_set_wakeup_enable() under spin_lock_bh,
which causes a problem to happen after the recent core power
management changes, because this function can sleep now. Fix this
by moving the device_set_wakeup_enable() call out of the
spin_lock_bh-protected area.
Reported-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions