[powerpc:merge 138/138] arch/powerpc/kernel/setup_64.c:354:2: error: implicit declaration of function 'this_cpu_enable_ftrace'; did you mean 'preempt_enable_notrace'?

Michael Ellerman mpe at ellerman.id.au
Mon May 14 17:10:06 AEST 2018


kbuild test robot <lkp at intel.com> writes:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git merge
> head:   900be8ab1549359ba980cfb042a043128204a963
> commit: 900be8ab1549359ba980cfb042a043128204a963 [138/138] Automatic merge of branches 'master', 'next' and 'fixes' into merge
> config: powerpc-defconfig (attached as .config)
> compiler: powerpc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
> reproduce:
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout 900be8ab1549359ba980cfb042a043128204a963
>         # save the attached .config to linux build tree
>         make.cross ARCH=powerpc 
>
> All errors (new ones prefixed by >>):
>
>    In file included from include/linux/ftrace.h:21:0,
>                     from arch/powerpc/include/asm/livepatch.h:23,
>                     from arch/powerpc/kernel/setup_64.c:67:
>    arch/powerpc/include/asm/ftrace.h:2:0: error: unterminated #ifndef
>     #ifndef _ASM_POWERPC_FTRACE
>     
>    arch/powerpc/kernel/setup_64.c: In function 'early_setup':
>>> arch/powerpc/kernel/setup_64.c:354:2: error: implicit declaration of function 'this_cpu_enable_ftrace'; did you mean 'preempt_enable_notrace'? [-Werror=implicit-function-declaration]
>      this_cpu_enable_ftrace();
>      ^~~~~~~~~~~~~~~~~~~~~~
>      preempt_enable_notrace
>    cc1: all warnings being treated as errors
> --
>    In file included from arch/powerpc/kernel/smp.c:62:0:
>    arch/powerpc/include/asm/ftrace.h:2:0: error: unterminated #ifndef
>     #ifndef _ASM_POWERPC_FTRACE

This was caused by a bad merge by me. Fixed now.

cheers


More information about the Linuxppc-dev mailing list