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

From: Thomas Gleixner
Date: Tue Feb 12 2019 - 08:03:54 EST


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