freezer: comment out might_sleep()
Currently on ARM signal handling here must happen with interrupts disabled so this might_sleep will cause a continuous stream of warnings. It is a known issue upstream. Signed-off-by: Steve Muckle <smuckle@codeaurora.org> (cherry picked from commit dc0eed4422dad92d3dd5afd468876d3d5b241ce1)
This commit is contained in:
committed by
Stephen Boyd
parent
2bfed520ac
commit
6cdb09deef
@@ -43,7 +43,10 @@ extern void thaw_kernel_threads(void);
|
||||
|
||||
static inline bool try_to_freeze(void)
|
||||
{
|
||||
might_sleep();
|
||||
/* This causes problems for ARM targets and is a known
|
||||
* problem upstream.
|
||||
* might_sleep();
|
||||
*/
|
||||
if (likely(!freezing(current)))
|
||||
return false;
|
||||
return __refrigerator(false);
|
||||
|
||||
Reference in New Issue
Block a user