From: Steven Rostedt <rostedt@goodmis.org>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
linaro-kernel@lists.linaro.org,
Build bot for Mark Brown <broonie@kernel.org>,
kernel-build-reports@lists.linaro.org,
linux-rt-users@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: v3.14.73-rt77 build: 6 failures 10 warnings (v3.14.73-rt77)
Date: Fri, 15 Jul 2016 14:34:10 -0400 [thread overview]
Message-ID: <20160715143410.7da7d02c@gandalf.local.home> (raw)
In-Reply-To: <20160715120837.GC11606@linutronix.de>
On Fri, 15 Jul 2016 14:08:37 +0200
Sebastian Andrzej Siewior <bigeasy@linutronix.de> wrote:
> + Steven
>
> * Arnd Bergmann | 2016-07-15 09:42:40 [+0200]:
>
> >On Friday, July 15, 2016 5:55:39 AM CEST Build bot for Mark Brown wrote:
> >>
> >> arm64-allnoconfig
> >> /home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
> >>
> >> arm64-allmodconfig
> >> /home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
> >>
> >> arm-multi_v7_defconfig
> >> /home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
> >>
> >> arm-allmodconfig
> >> /home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
> >>
> >> arm-allnoconfig
> >> /home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
> >>
> >> arm64-defconfig
> >> /home/broonie/build/linux-stable-rt/include/asm-generic/preempt.h:10:9: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
> >
> >These all started failing yesterday with v3.14.72-rt76, before it was
> >
> > v3.14.72-rt75 build: 0 failures 113 warnings (v3.14.72-rt75)
> >
> > Arnd
>
Arnd,
Does this fix the issue?
-- Steve
diff --git a/include/asm-generic/preempt.h b/include/asm-generic/preempt.h
index 65759d8b0b46..25c09df2c046 100644
--- a/include/asm-generic/preempt.h
+++ b/include/asm-generic/preempt.h
@@ -7,7 +7,7 @@
static __always_inline int preempt_count(void)
{
- return READ_ONCE(current_thread_info()->preempt_count);
+ return ACCESS_ONCE(current_thread_info()->preempt_count);
}
static __always_inline volatile int *preempt_count_ptr(void)
next prev parent reply other threads:[~2016-07-15 18:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1bNvA3-0006oU-Ex@optimist>
2016-07-15 7:42 ` v3.14.73-rt77 build: 6 failures 10 warnings (v3.14.73-rt77) Arnd Bergmann
2016-07-15 12:08 ` Sebastian Andrzej Siewior
2016-07-15 15:33 ` Steven Rostedt
2016-07-15 18:34 ` Steven Rostedt [this message]
2016-07-15 20:58 ` Arnd Bergmann
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=20160715143410.7da7d02c@gandalf.local.home \
--to=rostedt@goodmis.org \
--cc=arnd@arndb.de \
--cc=bigeasy@linutronix.de \
--cc=broonie@kernel.org \
--cc=kernel-build-reports@lists.linaro.org \
--cc=linaro-kernel@lists.linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-users@vger.kernel.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