[PATCH 19/19] powerpc: clean up asm/switch_to.h

kbuild test robot lkp at intel.com
Wed Oct 28 15:24:19 AEDT 2015


Hi Anton,

[auto build test ERROR on powerpc/next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Anton-Blanchard/powerpc-Don-t-disable-kernel-FP-VMX-VSX-MSR-bits-on-context-switch/20151028-091736
config: powerpc-ppc6xx_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=powerpc 

All errors (new ones prefixed by >>):

   arch/powerpc/kernel/swsusp.c: In function 'save_processor_state':
>> arch/powerpc/kernel/swsusp.c:25:2: error: implicit declaration of function 'flush_spe_to_thread' [-Werror=implicit-function-declaration]
     flush_spe_to_thread(current);
     ^
   cc1: all warnings being treated as errors

vim +/flush_spe_to_thread +25 arch/powerpc/kernel/swsusp.c

be9c94dd Johannes Berg 2007-04-30  19  	/*
be9c94dd Johannes Berg 2007-04-30  20  	 * flush out all the special registers so we don't need
be9c94dd Johannes Berg 2007-04-30  21  	 * to save them in the snapshot
be9c94dd Johannes Berg 2007-04-30  22  	 */
be9c94dd Johannes Berg 2007-04-30  23  	flush_fp_to_thread(current);
be9c94dd Johannes Berg 2007-04-30  24  	flush_altivec_to_thread(current);
be9c94dd Johannes Berg 2007-04-30 @25  	flush_spe_to_thread(current);
543b9fd3 Johannes Berg 2007-05-03  26  
543b9fd3 Johannes Berg 2007-05-03  27  #ifdef CONFIG_PPC64
543b9fd3 Johannes Berg 2007-05-03  28  	hard_irq_disable();

:::::: The code at line 25 was first introduced by commit
:::::: be9c94dd7776467813419f49fabe8017bc2d4c81 [POWERPC] Fix suspend states again

:::::: TO: Johannes Berg <johannes at sipsolutions.net>
:::::: CC: Paul Mackerras <paulus at samba.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 27223 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20151028/117de92e/attachment-0001.obj>


More information about the Linuxppc-dev mailing list