mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [tip:WIP.sched/core 98/154] arch/mips/include/asm/processor.h:384:41: error: implicit declaration of function 'task_stack_page'
@ 2017-02-12  0:23 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-02-12  0:23 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: kbuild-all, linux-kernel, tipbuild

[-- Attachment #1: Type: text/plain, Size: 2976 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core
head:   12372f63e2728a509817b56878cd6633d92053b3
commit: 030a6259fec4df48769d8efc0e0d4431e05935aa [98/154] sched/headers: Move task-stack related APIs from <linux/sched.h> to <linux/sched/task_stack.h>
config: mips-generic_defconfig (attached as .config)
compiler: mipsel-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
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
        git checkout 030a6259fec4df48769d8efc0e0d4431e05935aa
        # save the attached .config to linux build tree
        make.cross ARCH=mips 

All errors (new ones prefixed by >>):

   In file included from arch/mips/include/asm/io.h:28:0,
                    from include/linux/io.h:25,
                    from arch/mips/kernel/smp-cps.c:12:
   arch/mips/kernel/smp-cps.c: In function 'cps_boot_secondary':
>> arch/mips/include/asm/processor.h:384:41: error: implicit declaration of function 'task_stack_page' [-Werror=implicit-function-declaration]
    #define __KSTK_TOS(tsk) ((unsigned long)task_stack_page(tsk) + \
                                            ^
   arch/mips/kernel/smp-cps.c:302:16: note: in expansion of macro '__KSTK_TOS'
     vpe_cfg->sp = __KSTK_TOS(idle);
                   ^~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/task_stack_page +384 arch/mips/include/asm/processor.h

04cc89d1 arch/mips/include/asm/processor.h Ralf Baechle   2016-03-27  378  static inline void flush_thread(void)
04cc89d1 arch/mips/include/asm/processor.h Ralf Baechle   2016-03-27  379  {
04cc89d1 arch/mips/include/asm/processor.h Ralf Baechle   2016-03-27  380  }
04cc89d1 arch/mips/include/asm/processor.h Ralf Baechle   2016-03-27  381  
^1da177e include/asm-mips/processor.h      Linus Torvalds 2005-04-16  382  unsigned long get_wchan(struct task_struct *p);
^1da177e include/asm-mips/processor.h      Linus Torvalds 2005-04-16  383  
484889fc arch/mips/include/asm/processor.h David Daney    2009-07-08 @384  #define __KSTK_TOS(tsk) ((unsigned long)task_stack_page(tsk) + \
484889fc arch/mips/include/asm/processor.h David Daney    2009-07-08  385  			 THREAD_SIZE - 32 - sizeof(struct pt_regs))
484889fc arch/mips/include/asm/processor.h David Daney    2009-07-08  386  #define task_pt_regs(tsk) ((struct pt_regs *)__KSTK_TOS(tsk))
40bc9c67 include/asm-mips/processor.h      Al Viro        2006-01-12  387  #define KSTK_EIP(tsk) (task_pt_regs(tsk)->cp0_epc)

:::::: The code at line 384 was first introduced by commit
:::::: 484889fc85a223ef56edc31828b86751b2296b7c MIPS: Avoid clobbering struct pt_regs in kthreads

:::::: TO: David Daney <ddaney@caviumnetworks.com>
:::::: CC: Ralf Baechle <ralf@linux-mips.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 10813 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-12  0:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-12  0:23 [tip:WIP.sched/core 98/154] arch/mips/include/asm/processor.h:384:41: error: implicit declaration of function 'task_stack_page' kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®