Re: [PATCH 30/31] Add debugger entry points for SPARC

From: kbuild test robot
Date: Thu Jan 28 2016 - 16:45:16 EST


Hi Jeffrey,

[auto build test ERROR on v4.5-rc1]
[also build test ERROR on next-20160128]
[cannot apply to tip/x86/core]
[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/Jeffrey-Merkey/Add-hard-soft-lockup-debugger-entry-points/20160129-035852
config: sparc-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=sparc

All errors (new ones prefixed by >>):

arch/sparc/include/asm/kdebug.h: Assembler messages:
>> arch/sparc/include/asm/kdebug.h:9: Error: Unknown opcode: `static'
>> arch/sparc/include/asm/kdebug.h:10: Error: junk at end of line, first unrecognized character is `{'
>> arch/sparc/include/asm/kdebug.h:11: Error: Unknown opcode: `asm("ta $0x7d")'
arch/sparc/include/asm/kdebug.h:12: Error: junk at end of line, first unrecognized character is `}'

vim +9 arch/sparc/include/asm/kdebug.h

3 #if defined(__sparc__) && defined(__arch64__)
4 #include <asm/kdebug_64.h>
5 #else
6 #include <asm/kdebug_32.h>
7 #endif
8
> 9 static inline void arch_breakpoint(void)
> 10 {
> 11 asm("ta $0x7d");
12 }
13 #endif

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

Attachment: .config.gz
Description: Binary data