s390/sysinfo: add missing #ifdef CONFIG_PROC_FS
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 2 Jul 2018 08:54:02 +0000 (10:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Oct 2018 00:00:49 +0000 (17:00 -0700)
commit9374ffc6f3d3fcfe0cca6ed8139324d67b120719
tree180bc7bef69a13e044e0463281e74ee1f5858b26
parent8deb5801f1548be952372303c25de95c6a243cae
s390/sysinfo: add missing #ifdef CONFIG_PROC_FS

[ Upstream commit 9f35b818a2f90fb6cb291aa0c9f835d4f0974a9a ]

Get rid of this compile warning for !PROC_FS:

  CC      arch/s390/kernel/sysinfo.o
arch/s390/kernel/sysinfo.c:275:12: warning: 'sysinfo_show' defined but not used [-Wunused-function]
 static int sysinfo_show(struct seq_file *m, void *v)

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/kernel/sysinfo.c