|
@@ -8028,7 +8028,6 @@ static inline int preempt_count_equals(int preempt_offset)
|
|
|
|
|
|
void __might_sleep(const char *file, int line, int preempt_offset)
|
|
|
{
|
|
|
-#ifdef in_atomic
|
|
|
static unsigned long prev_jiffy; /* ratelimiting */
|
|
|
|
|
|
if ((preempt_count_equals(preempt_offset) && !irqs_disabled()) ||
|
|
@@ -8050,7 +8049,6 @@ void __might_sleep(const char *file, int line, int preempt_offset)
|
|
|
if (irqs_disabled())
|
|
|
print_irqtrace_events(current);
|
|
|
dump_stack();
|
|
|
-#endif
|
|
|
}
|
|
|
EXPORT_SYMBOL(__might_sleep);
|
|
|
#endif
|