]> err.no Git - linux-2.6/commit
[POWERPC] windfarm: Fix windfarm thread freezer interaction
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 7 Nov 2007 10:18:02 +0000 (21:18 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 8 Nov 2007 03:15:34 +0000 (14:15 +1100)
commit67b60518b0ff5cd666c7650eb09f0ef41f838106
treeb30d319435be205f2ccc4e79eaec531341ce00d7
parenta792e75d9b3dec3fc1dfef4a8c40674bbba44641
[POWERPC] windfarm: Fix windfarm thread freezer interaction

When I fixed the windfarm freezer interaction first in commit
1ed2ddf380e19dafeec2150ca709ef7f4a67cd21, an earlier patch than the one
I came up with after comments was committed. This has come back to haunt
us now because commit d5d8c5976d6adeddb8208c240460411e2198b393 changed
the freezer to no long send signals. Fix it by removing the windfarm
thread's signal logic and restoring the original try_to_freeze().

We could simply revert 1ed2ddf380e19dafeec2150ca709ef7f4a67cd21 now
but I feel that the assertion that no signal is delivered to the
windfarm thread needs not be there.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/macintosh/windfarm_core.c