From: Tejun Heo Date: Mon, 21 Nov 2011 20:32:22 +0000 (-0800) Subject: freezer: don't unnecessarily set PF_NOFREEZE explicitly X-Git-Tag: v3.3-rc1~148^2~24^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a7cbd50f74907580eb47a8d08e1f29741b81abf;p=pandora-kernel.git freezer: don't unnecessarily set PF_NOFREEZE explicitly Some drivers set PF_NOFREEZE in their kthread functions which is completely unnecessary and racy - some part of freezer code doesn't consider cases where PF_NOFREEZE is set asynchronous to freezer operations. In general, there's no reason to allow setting PF_NOFREEZE explicitly. Remove them and change the documentation to note that setting PF_NOFREEZE directly isn't allowed. -v2: Dropped change to twl4030-irq.c as it no longer uses PF_NOFREEZE. Signed-off-by: Tejun Heo Acked-by: "Gustavo F. Padovan" Acked-by: Samuel Ortiz Cc: Marcel Holtmann Cc: wwang --- Reading git-diff-tree failed