tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-5.4
head: d2c5af89e80c5b71f1da59879464a930947306a2
commit: 93badfe8759710113a0c24505cd72fc5d7778db8 [70/132] powerpc: Add POWER10 architected
mode
config: powerpc-randconfig-r001-20210320 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
436c6c9c20cc522c92a923440a5fc509c342a7db)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/c...
git remote add sashal-linux-stable
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
git fetch --no-tags sashal-linux-stable queue-5.4
git checkout 93badfe8759710113a0c24505cd72fc5d7778db8
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from arch/powerpc/kernel/asm-offsets.c:14:
In file included from include/linux/compat.h:10:
In file included from include/linux/time.h:6:
In file included from include/linux/seqlock.h:36:
In file included from include/linux/spinlock.h:51:
In file included from include/linux/preempt.h:78:
In file included from ./arch/powerpc/include/generated/asm/preempt.h:1:
In file included from include/asm-generic/preempt.h:5:
In file included from include/linux/thread_info.h:21:
In file included from arch/powerpc/include/asm/current.h:13:
In file included from arch/powerpc/include/asm/paca.h:17:
In file included from arch/powerpc/include/asm/lppaca.h:47:
In file included from arch/powerpc/include/asm/mmu.h:357:
In file included from arch/powerpc/include/asm/book3s/64/mmu.h:46:
In file included from arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:
In file included from arch/powerpc/include/asm/book3s/64/pgtable.h:296:
In file included from arch/powerpc/include/asm/book3s/64/radix.h:19:
> arch/powerpc/include/asm/cpu_has_feature.h:12:13: error: use of
undeclared identifier 'CPU_FTR_ARCH_31'
return
!!((CPU_FTRS_ALWAYS & feature) ||
^
arch/powerpc/include/asm/cputable.h:569:7: note: expanded from macro
'CPU_FTRS_ALWAYS'
(CPU_FTRS_POSSIBLE & ~CPU_FTR_HVMODE & CPU_FTRS_POWER7 & \
^
arch/powerpc/include/asm/cputable.h:495:55: note: expanded from macro
'CPU_FTRS_POSSIBLE'
CPU_FTRS_POWER9_DD2_1 | CPU_FTRS_POWER9_DD2_2 | CPU_FTRS_POWER10)
^
arch/powerpc/include/asm/cputable.h:476:6: note: expanded from macro
'CPU_FTRS_POWER10'
CPU_FTR_ARCH_31)
^
In file included from arch/powerpc/kernel/asm-offsets.c:14:
In file included from include/linux/compat.h:10:
In file included from include/linux/time.h:6:
In file included from include/linux/seqlock.h:36:
In file included from include/linux/spinlock.h:51:
In file included from include/linux/preempt.h:78:
In file included from ./arch/powerpc/include/generated/asm/preempt.h:1:
In file included from include/asm-generic/preempt.h:5:
In file included from include/linux/thread_info.h:21:
In file included from arch/powerpc/include/asm/current.h:13:
In file included from arch/powerpc/include/asm/paca.h:17:
In file included from arch/powerpc/include/asm/lppaca.h:47:
In file included from arch/powerpc/include/asm/mmu.h:357:
In file included from arch/powerpc/include/asm/book3s/64/mmu.h:46:
In file included from arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:
In file included from arch/powerpc/include/asm/book3s/64/pgtable.h:296:
In file included from arch/powerpc/include/asm/book3s/64/radix.h:19:
arch/powerpc/include/asm/cpu_has_feature.h:13:6: error: use of undeclared identifier
'CPU_FTR_ARCH_31'
(CPU_FTRS_POSSIBLE & cur_cpu_spec->cpu_features &
feature));
^
arch/powerpc/include/asm/cputable.h:495:55: note: expanded from macro
'CPU_FTRS_POSSIBLE'
CPU_FTRS_POWER9_DD2_1 | CPU_FTRS_POWER9_DD2_2 | CPU_FTRS_POWER10)
^
arch/powerpc/include/asm/cputable.h:476:6: note: expanded from macro
'CPU_FTRS_POWER10'
CPU_FTR_ARCH_31)
^
In file included from arch/powerpc/kernel/asm-offsets.c:21:
include/linux/mman.h:133:9: warning: division by zero is undefined
[-Wdivision-by-zero]
_calc_vm_trans(flags, MAP_LOCKED, VM_LOCKED ) |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/mman.h:111:21: note: expanded from macro '_calc_vm_trans'
: ((x) & (bit1)) / ((bit1) / (bit2))))
^ ~~~~~~~~~~~~~~~~~
include/linux/mman.h:134:9: warning: division by zero is undefined
[-Wdivision-by-zero]
_calc_vm_trans(flags, MAP_SYNC, VM_SYNC );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/mman.h:111:21: note: expanded from macro '_calc_vm_trans'
: ((x) & (bit1)) / ((bit1) / (bit2))))
^ ~~~~~~~~~~~~~~~~~
In file included from arch/powerpc/kernel/asm-offsets.c:23:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:13:
In file included from include/linux/cgroup.h:26:
In file included from include/linux/kernel_stat.h:9:
In file included from include/linux/interrupt.h:11:
In file included from include/linux/hardirq.h:9:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:605:
arch/powerpc/include/asm/io-defs.h:23:1: warning: performing pointer arithmetic on a
null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_RET(inb, u8, (unsigned long port), (port), pio, port)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:593:9: note: expanded from macro
'DEF_PCI_AC_RET'
return __do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:141:1: note: expanded from here
__do_inb
^
arch/powerpc/include/asm/io.h:524:53: note: expanded from macro '__do_inb'
#define __do_inb(port) readb((PCI_IO_ADDR)_IO_BASE + port);
~~~~~~~~~~~~~~~~~~~~~ ^
In file included from arch/powerpc/kernel/asm-offsets.c:23:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:13:
In file included from include/linux/cgroup.h:26:
In file included from include/linux/kernel_stat.h:9:
In file included from include/linux/interrupt.h:11:
In file included from include/linux/hardirq.h:9:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:605:
arch/powerpc/include/asm/io-defs.h:24:1: warning: performing pointer arithmetic on a
null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_RET(inw, u16, (unsigned long port), (port), pio, port)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:593:9: note: expanded from macro
'DEF_PCI_AC_RET'
return __do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:143:1: note: expanded from here
__do_inw
^
arch/powerpc/include/asm/io.h:525:53: note: expanded from macro '__do_inw'
#define __do_inw(port) readw((PCI_IO_ADDR)_IO_BASE + port);
~~~~~~~~~~~~~~~~~~~~~ ^
In file included from arch/powerpc/kernel/asm-offsets.c:23:
In file included from include/linux/suspend.h:5:
--
In file included from arch/powerpc/crypto/crct10dif-vpmsum_glue.c:10:
In file included from include/crypto/internal/hash.h:11:
In file included from include/crypto/algapi.h:10:
In file included from include/linux/crypto.h:19:
In file included from include/linux/slab.h:15:
In file included from include/linux/gfp.h:6:
In file included from include/linux/mmzone.h:8:
In file included from include/linux/spinlock.h:51:
In file included from include/linux/preempt.h:78:
In file included from ./arch/powerpc/include/generated/asm/preempt.h:1:
In file included from include/asm-generic/preempt.h:5:
In file included from include/linux/thread_info.h:21:
In file included from arch/powerpc/include/asm/current.h:13:
In file included from arch/powerpc/include/asm/paca.h:17:
In file included from arch/powerpc/include/asm/lppaca.h:47:
In file included from arch/powerpc/include/asm/mmu.h:357:
In file included from arch/powerpc/include/asm/book3s/64/mmu.h:46:
In file included from arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:
In file included from arch/powerpc/include/asm/book3s/64/pgtable.h:296:
In file included from arch/powerpc/include/asm/book3s/64/radix.h:19:
> arch/powerpc/include/asm/cpu_has_feature.h:12:13: error: use of
undeclared identifier 'CPU_FTR_ARCH_31'
return
!!((CPU_FTRS_ALWAYS & feature) ||
^
arch/powerpc/include/asm/cputable.h:569:7: note: expanded from macro
'CPU_FTRS_ALWAYS'
(CPU_FTRS_POSSIBLE & ~CPU_FTR_HVMODE & CPU_FTRS_POWER7 & \
^
arch/powerpc/include/asm/cputable.h:495:55: note: expanded from macro
'CPU_FTRS_POSSIBLE'
CPU_FTRS_POWER9_DD2_1 | CPU_FTRS_POWER9_DD2_2 | CPU_FTRS_POWER10)
^
arch/powerpc/include/asm/cputable.h:476:6: note: expanded from macro
'CPU_FTRS_POWER10'
CPU_FTR_ARCH_31)
^
In file included from arch/powerpc/crypto/crct10dif-vpmsum_glue.c:10:
In file included from include/crypto/internal/hash.h:11:
In file included from include/crypto/algapi.h:10:
In file included from include/linux/crypto.h:19:
In file included from include/linux/slab.h:15:
In file included from include/linux/gfp.h:6:
In file included from include/linux/mmzone.h:8:
In file included from include/linux/spinlock.h:51:
In file included from include/linux/preempt.h:78:
In file included from ./arch/powerpc/include/generated/asm/preempt.h:1:
In file included from include/asm-generic/preempt.h:5:
In file included from include/linux/thread_info.h:21:
In file included from arch/powerpc/include/asm/current.h:13:
In file included from arch/powerpc/include/asm/paca.h:17:
In file included from arch/powerpc/include/asm/lppaca.h:47:
In file included from arch/powerpc/include/asm/mmu.h:357:
In file included from arch/powerpc/include/asm/book3s/64/mmu.h:46:
In file included from arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:
In file included from arch/powerpc/include/asm/book3s/64/pgtable.h:296:
In file included from arch/powerpc/include/asm/book3s/64/radix.h:19:
arch/powerpc/include/asm/cpu_has_feature.h:13:6: error: use of undeclared identifier
'CPU_FTR_ARCH_31'
(CPU_FTRS_POSSIBLE & cur_cpu_spec->cpu_features &
feature));
^
arch/powerpc/include/asm/cputable.h:495:55: note: expanded from macro
'CPU_FTRS_POSSIBLE'
CPU_FTRS_POWER9_DD2_1 | CPU_FTRS_POWER9_DD2_2 | CPU_FTRS_POWER10)
^
arch/powerpc/include/asm/cputable.h:476:6: note: expanded from macro
'CPU_FTRS_POWER10'
CPU_FTR_ARCH_31)
^
In file included from arch/powerpc/crypto/crct10dif-vpmsum_glue.c:10:
In file included from include/crypto/internal/hash.h:11:
In file included from include/crypto/algapi.h:13:
In file included from include/linux/skbuff.h:31:
In file included from include/linux/dma-mapping.h:11:
In file included from include/linux/scatterlist.h:9:
In file included from arch/powerpc/include/asm/io.h:605:
arch/powerpc/include/asm/io-defs.h:23:1: error: performing pointer arithmetic on a null
pointer has undefined behavior [-Werror,-Wnull-pointer-arithmetic]
DEF_PCI_AC_RET(inb, u8, (unsigned long port), (port), pio, port)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:593:9: note: expanded from macro
'DEF_PCI_AC_RET'
return __do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:132:1: note: expanded from here
__do_inb
^
arch/powerpc/include/asm/io.h:524:53: note: expanded from macro '__do_inb'
#define __do_inb(port) readb((PCI_IO_ADDR)_IO_BASE + port);
~~~~~~~~~~~~~~~~~~~~~ ^
In file included from arch/powerpc/crypto/crct10dif-vpmsum_glue.c:10:
In file included from include/crypto/internal/hash.h:11:
In file included from include/crypto/algapi.h:13:
In file included from include/linux/skbuff.h:31:
In file included from include/linux/dma-mapping.h:11:
In file included from include/linux/scatterlist.h:9:
In file included from arch/powerpc/include/asm/io.h:605:
arch/powerpc/include/asm/io-defs.h:24:1: error: performing pointer arithmetic on a null
pointer has undefined behavior [-Werror,-Wnull-pointer-arithmetic]
DEF_PCI_AC_RET(inw, u16, (unsigned long port), (port), pio, port)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:593:9: note: expanded from macro
'DEF_PCI_AC_RET'
return __do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:134:1: note: expanded from here
__do_inw
^
arch/powerpc/include/asm/io.h:525:53: note: expanded from macro '__do_inw'
#define __do_inw(port) readw((PCI_IO_ADDR)_IO_BASE + port);
~~~~~~~~~~~~~~~~~~~~~ ^
In file included from arch/powerpc/crypto/crct10dif-vpmsum_glue.c:10:
In file included from include/crypto/internal/hash.h:11:
In file included from include/crypto/algapi.h:13:
In file included from include/linux/skbuff.h:31:
In file included from include/linux/dma-mapping.h:11:
In file included from include/linux/scatterlist.h:9:
In file included from arch/powerpc/include/asm/io.h:605:
arch/powerpc/include/asm/io-defs.h:25:1: error: performing pointer arithmetic on a null
pointer has undefined behavior [-Werror,-Wnull-pointer-arithmetic]
DEF_PCI_AC_RET(inl, u32, (unsigned long port), (port), pio, port)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:593:9: note: expanded from macro
'DEF_PCI_AC_RET'
return __do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:136:1: note: expanded from here
__do_inl
^
arch/powerpc/include/asm/io.h:526:53: note: expanded from macro '__do_inl'
#define __do_inl(port) readl((PCI_IO_ADDR)_IO_BASE + port);
~~~~~~~~~~~~~~~~~~~~~ ^
In file included from arch/powerpc/crypto/crct10dif-vpmsum_glue.c:10:
In file included from include/crypto/internal/hash.h:11:
In file included from include/crypto/algapi.h:13:
--
In file included from arch/powerpc/kernel/cputable.c:10:
In file included from include/linux/sched.h:12:
In file included from arch/powerpc/include/asm/current.h:13:
In file included from arch/powerpc/include/asm/paca.h:17:
In file included from arch/powerpc/include/asm/lppaca.h:47:
In file included from arch/powerpc/include/asm/mmu.h:357:
In file included from arch/powerpc/include/asm/book3s/64/mmu.h:46:
In file included from arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:
In file included from arch/powerpc/include/asm/book3s/64/pgtable.h:296:
In file included from arch/powerpc/include/asm/book3s/64/radix.h:19:
> arch/powerpc/include/asm/cpu_has_feature.h:12:13: error: use of
undeclared identifier 'CPU_FTR_ARCH_31'
return
!!((CPU_FTRS_ALWAYS & feature) ||
^
arch/powerpc/include/asm/cputable.h:569:7: note: expanded from macro
'CPU_FTRS_ALWAYS'
(CPU_FTRS_POSSIBLE & ~CPU_FTR_HVMODE & CPU_FTRS_POWER7 & \
^
arch/powerpc/include/asm/cputable.h:495:55: note: expanded from macro
'CPU_FTRS_POSSIBLE'
CPU_FTRS_POWER9_DD2_1 | CPU_FTRS_POWER9_DD2_2 | CPU_FTRS_POWER10)
^
arch/powerpc/include/asm/cputable.h:476:6: note: expanded from macro
'CPU_FTRS_POWER10'
CPU_FTR_ARCH_31)
^
In file included from arch/powerpc/kernel/cputable.c:10:
In file included from include/linux/sched.h:12:
In file included from arch/powerpc/include/asm/current.h:13:
In file included from arch/powerpc/include/asm/paca.h:17:
In file included from arch/powerpc/include/asm/lppaca.h:47:
In file included from arch/powerpc/include/asm/mmu.h:357:
In file included from arch/powerpc/include/asm/book3s/64/mmu.h:46:
In file included from arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:
In file included from arch/powerpc/include/asm/book3s/64/pgtable.h:296:
In file included from arch/powerpc/include/asm/book3s/64/radix.h:19:
arch/powerpc/include/asm/cpu_has_feature.h:13:6: error: use of undeclared identifier
'CPU_FTR_ARCH_31'
(CPU_FTRS_POSSIBLE & cur_cpu_spec->cpu_features &
feature));
^
arch/powerpc/include/asm/cputable.h:495:55: note: expanded from macro
'CPU_FTRS_POSSIBLE'
CPU_FTRS_POWER9_DD2_1 | CPU_FTRS_POWER9_DD2_2 | CPU_FTRS_POWER10)
^
arch/powerpc/include/asm/cputable.h:476:6: note: expanded from macro
'CPU_FTRS_POWER10'
CPU_FTR_ARCH_31)
^
In file included from arch/powerpc/kernel/cputable.c:18:
In file included from arch/powerpc/include/asm/prom.h:21:
In file included from include/linux/of_address.h:7:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:605:
arch/powerpc/include/asm/io-defs.h:23:1: error: performing pointer arithmetic on a null
pointer has undefined behavior [-Werror,-Wnull-pointer-arithmetic]
DEF_PCI_AC_RET(inb, u8, (unsigned long port), (port), pio, port)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:593:9: note: expanded from macro
'DEF_PCI_AC_RET'
return __do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:63:1: note: expanded from here
__do_inb
^
arch/powerpc/include/asm/io.h:524:53: note: expanded from macro '__do_inb'
#define __do_inb(port) readb((PCI_IO_ADDR)_IO_BASE + port);
~~~~~~~~~~~~~~~~~~~~~ ^
In file included from arch/powerpc/kernel/cputable.c:18:
In file included from arch/powerpc/include/asm/prom.h:21:
In file included from include/linux/of_address.h:7:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:605:
arch/powerpc/include/asm/io-defs.h:24:1: error: performing pointer arithmetic on a null
pointer has undefined behavior [-Werror,-Wnull-pointer-arithmetic]
DEF_PCI_AC_RET(inw, u16, (unsigned long port), (port), pio, port)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:593:9: note: expanded from macro
'DEF_PCI_AC_RET'
return __do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:65:1: note: expanded from here
__do_inw
^
arch/powerpc/include/asm/io.h:525:53: note: expanded from macro '__do_inw'
#define __do_inw(port) readw((PCI_IO_ADDR)_IO_BASE + port);
~~~~~~~~~~~~~~~~~~~~~ ^
In file included from arch/powerpc/kernel/cputable.c:18:
In file included from arch/powerpc/include/asm/prom.h:21:
In file included from include/linux/of_address.h:7:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:605:
arch/powerpc/include/asm/io-defs.h:25:1: error: performing pointer arithmetic on a null
pointer has undefined behavior [-Werror,-Wnull-pointer-arithmetic]
DEF_PCI_AC_RET(inl, u32, (unsigned long port), (port), pio, port)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:593:9: note: expanded from macro
'DEF_PCI_AC_RET'
return __do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:67:1: note: expanded from here
__do_inl
^
arch/powerpc/include/asm/io.h:526:53: note: expanded from macro '__do_inl'
#define __do_inl(port) readl((PCI_IO_ADDR)_IO_BASE + port);
~~~~~~~~~~~~~~~~~~~~~ ^
In file included from arch/powerpc/kernel/cputable.c:18:
In file included from arch/powerpc/include/asm/prom.h:21:
In file included from include/linux/of_address.h:7:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:605:
arch/powerpc/include/asm/io-defs.h:26:1: error: performing pointer arithmetic on a null
pointer has undefined behavior [-Werror,-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outb, (u8 val, unsigned long port), (val, port), pio, port)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:602:3: note: expanded from macro
'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:69:1: note: expanded from here
__do_outb
^
arch/powerpc/include/asm/io.h:521:62: note: expanded from macro '__do_outb'
#define __do_outb(val, port) writeb(val,(PCI_IO_ADDR)_IO_BASE+port);
~~~~~~~~~~~~~~~~~~~~~^
In file included from arch/powerpc/kernel/cputable.c:18:
In file included from arch/powerpc/include/asm/prom.h:21:
..
vim +/CPU_FTR_ARCH_31 +12 arch/powerpc/include/asm/cpu_has_feature.h
b92a226e528423 Kevin Hao 2016-07-23 9
b92a226e528423 Kevin Hao 2016-07-23 10 static inline bool early_cpu_has_feature(unsigned
long feature)
b92a226e528423 Kevin Hao 2016-07-23 11 {
b92a226e528423 Kevin Hao 2016-07-23 @12 return !!((CPU_FTRS_ALWAYS & feature) ||
b92a226e528423 Kevin Hao 2016-07-23 13 (CPU_FTRS_POSSIBLE &
cur_cpu_spec->cpu_features & feature));
b92a226e528423 Kevin Hao 2016-07-23 14 }
b92a226e528423 Kevin Hao 2016-07-23 15
:::::: The code at line 12 was first introduced by commit
:::::: b92a226e528423b8d249dd09bb450d53361fbfcb powerpc: Move cpu_has_feature() to a
separate file
:::::: TO: Kevin Hao <haokexin(a)gmail.com>
:::::: CC: Michael Ellerman <mpe(a)ellerman.id.au>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org