Re: [08/21] powerpc: Make function __giveup_fpu static

2018-03-14 Thread Michael Ellerman
On Sun, 2018-02-25 at 17:22:23 UTC, Mathieu Malaterre wrote: > When CONFIG_PPC_FPU is defined the prototype exposed in asm/switch_to.h is: > > extern void giveup_fpu(struct task_struct *); > > Change the function prototype of __giveup_fpu to static. Fix warning > (treated as error in W=1): > >

[PATCH 08/21] powerpc: Make function __giveup_fpu static

2018-02-25 Thread Mathieu Malaterre
When CONFIG_PPC_FPU is defined the prototype exposed in asm/switch_to.h is: extern void giveup_fpu(struct task_struct *); Change the function prototype of __giveup_fpu to static. Fix warning (treated as error in W=1): CC arch/powerpc/kernel/process.o arch/powerpc/kernel/process.c:176:6: