aboutsummaryrefslogtreecommitdiff
path: root/arch/h8300
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2022-03-08 18:09:28 +0800
committerMichael Ellerman <mpe@ellerman.id.au>2022-03-08 22:07:41 +1100
commit5986f6b6575ac830ede9648cfb64353c58067a9f (patch)
tree34f48b89255d3a41a31cacdd019e8ea23f0f239e /arch/h8300
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 <yuehaibing@huawei.com> Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220308100928.23540-1-yuehaibing@huawei.com
Diffstat (limited to 'arch/h8300')
0 files changed, 0 insertions, 0 deletions