From: mst@redhat.com (Michael S. Tsirkin)
To: linux-arm-kernel@lists.infradead.org
Subject: Build error for nommu if CONFIG_DEBUG_ATOMIC_SLEEP is selected
Date: Fri, 18 Oct 2013 17:12:02 +0300 [thread overview]
Message-ID: <20131018141202.GA24660@redhat.com> (raw)
In-Reply-To: <1382088475.16935.4.camel@phoenix>
On Fri, Oct 18, 2013 at 05:27:55PM +0800, Axel Lin wrote:
> Hi Michael,
>
> I got below build error for nommu if CONFIG_DEBUG_ATOMIC_SLEEP is selected.
> Also got the same build error if CONFIG_PROVE_LOCKING is selected.
>
> Seems this issue is introduced by commit 662bbcb2747c2
> "mm, sched: Allow uaccess in atomic with pagefault_disable()".
>
> arch/arm/kernel/built-in.o: In function `arch_ptrace':
> arch/arm/kernel/ptrace.c:852: undefined reference to `might_fault'
> arch/arm/kernel/built-in.o: In function `restore_sigframe':
> arch/arm/kernel/signal.c:173: undefined reference to `might_fault'
> arch/arm/kernel/signal.c:174: undefined reference to `might_fault'
> arch/arm/kernel/signal.c:175: undefined reference to `might_fault'
> arch/arm/kernel/signal.c:176: undefined reference to `might_fault'
> arch/arm/kernel/built-in.o:arch/arm/kernel/signal.c:177: more undefined references to `might_fault' follow
> make: *** [vmlinux] Error 1
>
> Regards,
> Axel
Can you send/upload your full .config please?
next prev parent reply other threads:[~2013-10-18 14:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-18 9:27 Build error for nommu if CONFIG_DEBUG_ATOMIC_SLEEP is selected Axel Lin
2013-10-18 14:12 ` Michael S. Tsirkin [this message]
2013-10-18 14:21 ` Axel Lin
2013-10-18 15:30 ` Michael S. Tsirkin
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=20131018141202.GA24660@redhat.com \
--to=mst@redhat.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).