diff options
| author | 2010-10-25 13:01:55 +0000 | |
|---|---|---|
| committer | 2010-10-26 11:34:09 -0700 | |
| commit | f2dc0d1809ab7e0147c7e4ac837be1682f706538 (patch) | |
| tree | 1b97e8fda5b7893cf3e227f091b91c92e8cc8334 /net/core/dev.c | |
| parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 (diff) | |
| download | linux-dev-f2dc0d1809ab7e0147c7e4ac837be1682f706538.tar.xz linux-dev-f2dc0d1809ab7e0147c7e4ac837be1682f706538.zip | |
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 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions
