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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Piotr Hosowicz
Date: Tuesday, August 10, 2010 - 8:36 am

On 10.08.2010 17:35, Sergey Senozhatsky wrote:

aapi205:/usr/src/linux# cat include/acpi/platform/aclinux.h.rej
--- 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)


No, I just downloaded bz2 patch from kernel.org.

Regards,

Piotr Hosowicz

-- 
Z cyklu "Uroki demokracji", czyli pytania i odpowiedzi w teledurniejach:
- W którym mieście europejskim powstała pierwsza opera?
- Sydney.
NP: Peter Green Splinter Group - Heart Of Stone
NB: 2.6.35-git9
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: BUG: scheduling while atomic: swapper/0/0x10000002, Markus Trippelsdorf, (Tue Aug 10, 7:29 am)
Re: BUG: scheduling while atomic: swapper/0/0x10000002, Sergey Senozhatsky, (Tue Aug 10, 8:13 am)
Re: BUG: scheduling while atomic: swapper/0/0x10000002, Piotr Hosowicz, (Tue Aug 10, 8:19 am)
Re: BUG: scheduling while atomic: swapper/0/0x10000002, Sergey Senozhatsky, (Tue Aug 10, 8:35 am)
Re: BUG: scheduling while atomic: swapper/0/0x10000002, Piotr Hosowicz, (Tue Aug 10, 8:36 am)