From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751512AbcGOSeQ (ORCPT ); Fri, 15 Jul 2016 14:34:16 -0400 Received: from smtprelay0236.hostedemail.com ([216.40.44.236]:57843 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751292AbcGOSeO (ORCPT ); Fri, 15 Jul 2016 14:34:14 -0400 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::::,RULES_HIT:41:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1542:1593:1594:1711:1730:1747:1777:1792:1981:2194:2199:2393:2551:2553:2559:2562:3138:3139:3140:3141:3142:3352:3622:3865:3866:3872:4321:4605:5007:6261:7875:10004:10400:10848:10967:11026:11232:11473:11658:11914:12043:12050:12517:12519:12555:12740:13439:14181:14659:14721:21080:30054:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: horn98_5ed289853bb49 X-Filterd-Recvd-Size: 3222 Date: Fri, 15 Jul 2016 14:34:10 -0400 From: Steven Rostedt To: Arnd Bergmann Cc: Sebastian Andrzej Siewior , linaro-kernel@lists.linaro.org, Build bot for Mark Brown , 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) Message-ID: <20160715143410.7da7d02c@gandalf.local.home> In-Reply-To: <20160715120837.GC11606@linutronix.de> References: <6896332.PzHULJX9vz@wuerfel> <20160715120837.GC11606@linutronix.de> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 15 Jul 2016 14:08:37 +0200 Sebastian Andrzej Siewior 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)