Re: [PATCH v2] powerpc/32: Add VDSO version of getcpu

From: kbuild test robot
Date: Sun Sep 01 2019 - 23:44:51 EST

Hi Christophe,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[cannot apply to v5.3-rc6 next-20190830]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

config: powerpc-sequoia_defconfig (attached as .config)
compiler: powerpc-linux-gcc (GCC) 7.4.0
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=powerpc

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

In file included from arch/powerpc/kernel/head_booke.h:7:0,
from arch/powerpc/kernel/asm-offsets.c:61:
>> arch/powerpc/include/asm/asm-offsets.h:1:10: fatal error: generated/asm-offsets.h: No such file or directory
#include <generated/asm-offsets.h>
compilation terminated.
make[2]: *** [arch/powerpc/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2
20 real 7 user 6 sys 67.53% cpu make prepare

vim +1 arch/powerpc/include/asm/asm-offsets.h

559df2e0210352 Sam Ravnborg 2009-04-19 @1 #include <generated/asm-offsets.h>

:::::: The code at line 1 was first introduced by commit
:::::: 559df2e0210352f83926d178c40c51142292a18c kbuild: move asm-offsets.h to include/generated

:::::: TO: Sam Ravnborg <sam@xxxxxxxxxxxx>
:::::: CC: Michal Marek <mmarek@xxxxxxx>

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: application/gzip