From: Rafael J. Wysocki Date: Mon, 25 Oct 2010 13:01:55 +0000 (+0000) Subject: tg3: Do not call device_set_wakeup_enable() under spin_lock_bh X-Git-Tag: v2.6.37-rc1~88^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2dc0d1809ab7e0147c7e4ac837be1682f706538;p=pandora-kernel.git 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 Signed-off-by: Rafael J. Wysocki Signed-off-by: David S. Miller --- Reading git-diff-tree failed