Re: BUG: scheduling while atomic: swapper/0/0x10000002
From: Piotr Hosowicz
Date: Tue Aug 10 2010 - 11:36:40 EST
On 10.08.2010 17:35, Sergey Senozhatsky wrote:
On (08/10/10 17:19), Piotr Hosowicz wrote:
None of them works for me. I do:
cat patch.txt | patch -p1
And get:
aapi205:/usr/src/linux# cat ../smp-bug.txt | patch -p1
patching file include/acpi/platform/aclinux.h
Hunk #1 FAILED at 152.
1 out of 1 hunk FAILED -- saving rejects to file
include/acpi/platform/aclinux.h.rej
Help me please.
Can we see your:
include/acpi/platform/aclinux.h(.rej)
?
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)
(did you `git pull`?)
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/