Re: [PATCH v4 (updated)] getcpu_cache: wire up ARM system call

From: kbuild test robot
Date: Wed Feb 24 2016 - 01:55:34 EST


Hi Mathieu,

[auto build test ERROR on arm/for-next]
[also build test ERROR on v4.5-rc5 next-20160223]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Mathieu-Desnoyers/getcpu_cache-wire-up-ARM-system-call/20160224-090642
base: http://repo.or.cz/linux-2.6/linux-2.6-arm.git for-next
config: arm-efm32_defconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm

All errors (new ones prefixed by >>):

arch/arm/kernel/built-in.o: In function `__sys_trace_return_nosave':
>> arch/arm/kernel/entry-header.S:312: undefined reference to `sys_getcpu_cache'

vim +312 arch/arm/kernel/entry-header.S

a18f3645 Daniel Thompson 2015-01-09 306 ldmdb r2, {r0 - lr}^ @ get calling r0 - lr
b86040a5 Catalin Marinas 2009-07-24 307 .endif
8e4971f2 Anders Grafström 2010-03-15 308 mov r0, r0 @ ARMv5T and earlier require a nop
8e4971f2 Anders Grafström 2010-03-15 309 @ after ldm {}^
a18f3645 Daniel Thompson 2015-01-09 310 add sp, sp, #\offset + S_FRAME_SIZE
b86040a5 Catalin Marinas 2009-07-24 311 movs pc, lr @ return & move spsr_svc into cpsr
aa06e5c1 Russell King 2015-08-26 @312 #elif defined(CONFIG_CPU_V7M)
aa06e5c1 Russell King 2015-08-26 313 @ V7M restore.
aa06e5c1 Russell King 2015-08-26 314 @ Note that we don't need to do clrex here as clearing the local
aa06e5c1 Russell King 2015-08-26 315 @ monitor is part of the exception entry and exit sequence.

:::::: The code at line 312 was first introduced by commit
:::::: aa06e5c1f9c2b466712be904cc5b56a813e24cfd ARM: entry: get rid of multiple macro definitions

:::::: TO: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>
:::::: CC: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data