Message ID | 2343af990554e062b1b93fddf610ce78a4a001de.1638391253.git.zanussi@kernel.org |
---|---|
State | New |
Headers | show |
Series | Linux v5.4.161-rt67-rc1 | expand |
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index f5ec1ddbfe07..fac917085516 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h @@ -229,7 +229,7 @@ extern void __cant_sleep(const char *file, int line, int preempt_offset); do { __might_sleep(__FILE__, __LINE__, 0); might_resched(); } while (0) # define might_sleep_no_state_check() \ - do { ___might_sleep(__FILE__, __LINE__, 0); might_resched(); } while (0) + do { ___might_sleep(__FILE__, __LINE__, 0); } while (0) /** * cant_sleep - annotation for functions that cannot sleep