Hi Elena, [auto build test ERROR on next-20170220] [cannot apply to linus/master linux/master tip/perf/core v4.9-rc8 v4.9-rc7 v4.9-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Elena-Reshetova/kernel-convert-sighand_struct-count-from-atomic_t-to-refcount_t/20170220-183434 config: blackfin-BF561-EZKIT-SMP_defconfig (attached as .config) compiler: bfin-uclinux-gcc (GCC) 6.2.0 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=blackfin All errors (new ones prefixed by >>): In file included from include/linux/atomic.h:4:0, from arch/blackfin/include/asm/spinlock.h:14, from include/linux/spinlock.h:87, from include/linux/mmzone.h:7, from include/linux/gfp.h:5, from include/linux/mm.h:9, from fs/proc/task_nommu.c:2: fs/proc/task_nommu.c: In function 'task_mem': >> arch/blackfin/include/asm/atomic.h:27:53: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) __raw_uncached_fetch_asm(&(v)->counter) ^ fs/proc/task_nommu.c:64:26: note: in expansion of macro 'atomic_read' if (current->sighand && atomic_read(¤t->sighand->count) > 1) ^~~~~~~~~~~ vim +27 arch/blackfin/include/asm/atomic.h d835b6c4 arch/blackfin/include/asm/atomic.h Peter Zijlstra 2015-04-23 21 d835b6c4 arch/blackfin/include/asm/atomic.h Peter Zijlstra 2015-04-23 22 asmlinkage int __raw_atomic_and_asm(volatile int *ptr, int value); d835b6c4 arch/blackfin/include/asm/atomic.h Peter Zijlstra 2015-04-23 23 asmlinkage int __raw_atomic_or_asm(volatile int *ptr, int value); 6b3087c6 arch/blackfin/include/asm/atomic.h Graf Yang 2009-01-07 24 asmlinkage int __raw_atomic_xor_asm(volatile int *ptr, int value); 6b3087c6 arch/blackfin/include/asm/atomic.h Graf Yang 2009-01-07 25 asmlinkage int __raw_atomic_test_asm(const volatile int *ptr, int value); 6b3087c6 arch/blackfin/include/asm/atomic.h Graf Yang 2009-01-07 26 ae41f32e arch/blackfin/include/asm/atomic.h Mike Frysinger 2011-06-17 @27 #define atomic_read(v) __raw_uncached_fetch_asm(&(v)->counter) 1394f032 include/asm-blackfin/atomic.h Bryan Wu 2007-05-06 28 d835b6c4 arch/blackfin/include/asm/atomic.h Peter Zijlstra 2015-04-23 29 #define atomic_add_return(i, v) __raw_atomic_add_asm(&(v)->counter, i) d835b6c4 arch/blackfin/include/asm/atomic.h Peter Zijlstra 2015-04-23 30 #define atomic_sub_return(i, v) __raw_atomic_add_asm(&(v)->counter, -(i)) :::::: The code at line 27 was first introduced by commit :::::: ae41f32e16d8e87c84cb910a6a6aefb50318894d Blackfin: SMP: convert to common asm-generic/atomic.h :::::: TO: Mike Frysinger <vapier@xxxxxxxxxx> :::::: CC: Mike Frysinger <vapier@xxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip