Re: [PATCH v10 2/3] x86,/proc/pid/status: Add AVX-512 usage elapsed time

Thomas Gleixner
2019-02-12T13:28:01Z

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

On Tue, 12 Feb 2019, Thomas Gleixner wrote:

> On Tue, 12 Feb 2019, Li, Aubrey wrote:
>
> > On 2019/2/12 21:03, Thomas Gleixner wrote:
> > I didn't include the first patch, because I saw it's already in tip
> > tree. Did you use tip tree?
>
> Yes, that's my bad, forgot to switch branches. That still does not solve:
>
> > > arch/x86/kernel/fpu/xstate.c: At top level:
> > > arch/x86/kernel/fpu/xstate.c:1279:6: warning: no previous prototype for ‘arch_proc_pid_status’ [-Wmissing-prototypes]
> > > void arch_proc_pid_status(struct seq_file *m, struct task_struct *task)
> > > ^~~~~~~~~~~~~~~~~~~~
> > Sorry for this, May I know how to replicate it on my side?
>
> make W=1 ....

Aside of that I didn't have to compile that simply because it was obvious
that nothing includes procfs.h in that file ...

Thanks,

tglx