From: Piotr Hosowicz <piotr@hosowicz.com>
To: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Markus Trippelsdorf <markus@trippelsdorf.de>,
Heinz Diehl <htd@fancy-poultry.org>,
linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org
Subject: Re: BUG: scheduling while atomic: swapper/0/0x10000002
Date: Tue, 10 Aug 2010 17:36:28 +0200 [thread overview]
Message-ID: <4C6171FC.6060305@example.com> (raw)
In-Reply-To: <20100810153538.GB5466@swordfish.minsk.epam.com>
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-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Piotr Hosowicz <piotr@hosowicz.com>
To: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Markus Trippelsdorf <markus@trippelsdorf.de>,
Heinz Diehl <htd@fancy-poultry.org>,
linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org
Subject: Re: BUG: scheduling while atomic: swapper/0/0x10000002
Date: Tue, 10 Aug 2010 17:36:28 +0200 [thread overview]
Message-ID: <4C6171FC.6060305@example.com> (raw)
In-Reply-To: <20100810153538.GB5466@swordfish.minsk.epam.com>
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
next prev parent reply other threads:[~2010-08-10 15:36 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-10 13:12 BUG: scheduling while atomic: swapper/0/0x10000002 Piotr Hosowicz
2010-08-10 14:07 ` Heinz Diehl
2010-08-10 14:29 ` Markus Trippelsdorf
2010-08-10 14:29 ` Markus Trippelsdorf
2010-08-10 15:13 ` Sergey Senozhatsky
2010-08-10 15:19 ` Piotr Hosowicz
2010-08-10 15:35 ` Sergey Senozhatsky
2010-08-10 15:36 ` Piotr Hosowicz [this message]
2010-08-10 15:36 ` Piotr Hosowicz
-- strict thread matches above, loose matches on Subject: below --
2011-11-28 12:14 Wouter M. Koolen
2011-11-28 13:06 ` Peter Zijlstra
2012-01-10 15:10 ` Wouter M. Koolen
2011-07-28 17:07 Justin P. Mattock
2010-08-10 12:38 Sergey Senozhatsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C6171FC.6060305@example.com \
--to=piotr@hosowicz.com \
--cc=htd@fancy-poultry.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=markus@trippelsdorf.de \
--cc=sergey.senozhatsky@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.