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

Thomas Gleixner
2019-02-12T13:03:54Z

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

On Tue, 12 Feb 2019, Aubrey Li wrote:

arch/x86/kernel/fpu/xstate.c:1252:6: warning: no previous prototype for ‘avx512_status’ [-Wmissing-prototypes]
void avx512_status(struct seq_file *m, struct task_struct *task)
^~~~~~~~~~~~~
arch/x86/kernel/fpu/xstate.c: In function ‘avx512_status’:
arch/x86/kernel/fpu/xstate.c:1254:44: error: ‘struct fpu’ has no member named ‘avx512_timestamp’
unsigned long timestamp = task->thread.fpu.avx512_timestamp;
^
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)
^~~~~~~~~~~~~~~~~~~~

I'm tired of this.

Thanks,

tglx