summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/topology.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2012-09-03 14:11:32 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-09-26 15:45:06 +0200
commit78609132795b4e3d6d51c6b67d461bf1626afb2f (patch)
tree9a27a5528c7fc5969a841aec8bcb8a899ec5d1da /arch/s390/kernel/topology.c
parentbad4c9c82d7ecb3b6ce4dbe25b7810018b52b8c1 (diff)
downloadop-kernel-dev-78609132795b4e3d6d51c6b67d461bf1626afb2f.zip
op-kernel-dev-78609132795b4e3d6d51c6b67d461bf1626afb2f.tar.gz
s390/topology: remove sysinfo header include, add forward declaration instead
Any change to sysinfo.h causes a whole kernel recompile since sysinfo.h is included by topology.h, which again is used nearly everywhere. So remove that include and add a forward declaration instead. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/topology.c')
-rw-r--r--arch/s390/kernel/topology.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kernel/topology.c b/arch/s390/kernel/topology.c
index 05151e0..fc957f2 100644
--- a/arch/s390/kernel/topology.c
+++ b/arch/s390/kernel/topology.c
@@ -17,6 +17,7 @@
#include <linux/cpu.h>
#include <linux/smp.h>
#include <linux/mm.h>
+#include <asm/sysinfo.h>
#define PTF_HORIZONTAL (0UL)
#define PTF_VERTICAL (1UL)
OpenPOWER on IntegriCloud