[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201705050716.Kf8k8iWS%fengguang.wu@intel.com>
Date: Fri, 5 May 2017 07:20:20 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org
Subject: [rcu:rcu/dev 87/90] arch/alpha/include/asm/irqflags.h:34:2: error:
implicit declaration of function 'barrier'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/dev
head: 894c3990aadbe57e0e87f9d18307fa2a4e27af7f
commit: 7683511c453ce2bb1b7d30fde281ecdacca04f6b [87/90] rcu: Move ktime needs to rcutiny.h and remove ktime.h from rcupdate.h
config: alpha-defconfig (attached as .config)
compiler: alpha-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 7683511c453ce2bb1b7d30fde281ecdacca04f6b
# save the attached .config to linux build tree
make.cross ARCH=alpha
All errors (new ones prefixed by >>):
In file included from include/linux/irqflags.h:15:0,
from include/linux/rcupdate.h:36,
from include/linux/init_task.h:4,
from init/init_task.c:1:
arch/alpha/include/asm/irqflags.h: In function 'arch_local_irq_disable':
>> arch/alpha/include/asm/irqflags.h:34:2: error: implicit declaration of function 'barrier' [-Werror=implicit-function-declaration]
barrier();
^~~~~~~
arch/alpha/include/asm/irqflags.h: At top level:
>> arch/alpha/include/asm/irqflags.h:57:15: error: unknown type name 'bool'
static inline bool arch_irqs_disabled_flags(unsigned long flags)
^~~~
arch/alpha/include/asm/irqflags.h:62:15: error: unknown type name 'bool'
static inline bool arch_irqs_disabled(void)
^~~~
cc1: some warnings being treated as errors
vim +/barrier +34 arch/alpha/include/asm/irqflags.h
df9ee292 David Howells 2010-10-07 28 return rdps();
df9ee292 David Howells 2010-10-07 29 }
df9ee292 David Howells 2010-10-07 30
df9ee292 David Howells 2010-10-07 31 static inline void arch_local_irq_disable(void)
df9ee292 David Howells 2010-10-07 32 {
df9ee292 David Howells 2010-10-07 33 setipl(IPL_MAX);
df9ee292 David Howells 2010-10-07 @34 barrier();
df9ee292 David Howells 2010-10-07 35 }
df9ee292 David Howells 2010-10-07 36
df9ee292 David Howells 2010-10-07 37 static inline unsigned long arch_local_irq_save(void)
df9ee292 David Howells 2010-10-07 38 {
df9ee292 David Howells 2010-10-07 39 unsigned long flags = swpipl(IPL_MAX);
df9ee292 David Howells 2010-10-07 40 barrier();
df9ee292 David Howells 2010-10-07 41 return flags;
df9ee292 David Howells 2010-10-07 42 }
df9ee292 David Howells 2010-10-07 43
df9ee292 David Howells 2010-10-07 44 static inline void arch_local_irq_enable(void)
df9ee292 David Howells 2010-10-07 45 {
df9ee292 David Howells 2010-10-07 46 barrier();
df9ee292 David Howells 2010-10-07 47 setipl(IPL_MIN);
df9ee292 David Howells 2010-10-07 48 }
df9ee292 David Howells 2010-10-07 49
df9ee292 David Howells 2010-10-07 50 static inline void arch_local_irq_restore(unsigned long flags)
df9ee292 David Howells 2010-10-07 51 {
df9ee292 David Howells 2010-10-07 52 barrier();
df9ee292 David Howells 2010-10-07 53 setipl(flags);
df9ee292 David Howells 2010-10-07 54 barrier();
df9ee292 David Howells 2010-10-07 55 }
df9ee292 David Howells 2010-10-07 56
df9ee292 David Howells 2010-10-07 @57 static inline bool arch_irqs_disabled_flags(unsigned long flags)
df9ee292 David Howells 2010-10-07 58 {
df9ee292 David Howells 2010-10-07 59 return flags == IPL_MAX;
df9ee292 David Howells 2010-10-07 60 }
:::::: The code at line 34 was first introduced by commit
:::::: df9ee29270c11dba7d0fe0b83ce47a4d8e8d2101 Fix IRQ flag handling naming
:::::: TO: David Howells <dhowells@...hat.com>
:::::: CC: David Howells <dhowells@...hat.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (12361 bytes)
Powered by blists - more mailing lists