aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/spu.h
diff options
context:
space:
mode:
authorYueHaibing <[email protected]>2022-03-08 18:09:28 +0800
committerMichael Ellerman <[email protected]>2022-03-08 22:07:41 +1100
commit5986f6b6575ac830ede9648cfb64353c58067a9f (patch)
tree34f48b89255d3a41a31cacdd019e8ea23f0f239e /arch/powerpc/include/asm/spu.h
parentd601fd24e6964967f115f036a840f4f28488f63f (diff)
powerpc/spufs: Fix build warning when CONFIG_PROC_FS=n
arch/powerpc/platforms/cell/spufs/sched.c:1055:12: warning: ‘show_spu_loadavg’ defined but not used [-Wunused-function] static int show_spu_loadavg(struct seq_file *s, void *private) ^~~~~~~~~~~~~~~~ Move it into #ifdef block to fix this, also remove unneeded semicolon. Signed-off-by: YueHaibing <[email protected]> Reviewed-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/include/asm/spu.h')
0 files changed, 0 insertions, 0 deletions