diff mbox

BUG: scheduling while atomic: swapper/0/0x10000002

Message ID 4C6171FC.6060305@example.com (mailing list archive)
State New, archived
Headers show

Commit Message

Piotr Hosowicz Aug. 10, 2010, 3:36 p.m. UTC
None
diff mbox

Patch

--- include/acpi/platform/aclinux.h
+++ include/acpi/platform/aclinux.h
@@ -152,7 +152,7 @@ 
  #include <linux/hardirq.h>
  #define ACPI_PREEMPTION_POINT() \
         do { \
-               if (!in_atomic_preempt_off() && !irqs_disabled()) \
+               if (!in_atomic() && !irqs_disabled()) \
                         cond_resched(); \
         } while (0)