summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2017-03-13 13:36:10 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-03-22 08:29:08 +0100
commit4fd4dd8bffb112d1e6549e0ff09e9fa3c8cc2b96 (patch)
treefdd3c4ee703f2c206f99b2174b25350e5f788ba4 /arch/s390/kernel
parent251ea0ca408b827e888d622eac5e89e4b9502ea2 (diff)
downloadop-kernel-dev-4fd4dd8bffb112d1e6549e0ff09e9fa3c8cc2b96.zip
op-kernel-dev-4fd4dd8bffb112d1e6549e0ff09e9fa3c8cc2b96.tar.gz
s390/topology: fix typo in early topology code
Use MACHINE_FLAG_TOPOLOGY instead of MACHINE_HAS_TOPOLOGY when clearing the bit that indicates if the machine provides topology information (and if it should be used). Currently works anyway. Fixes: 68cc795d1933 ("s390/topology: make "topology=off" parameter work") 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')
-rw-r--r--arch/s390/kernel/early.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/early.c b/arch/s390/kernel/early.c
index 95298a4..01cd7fe 100644
--- a/arch/s390/kernel/early.c
+++ b/arch/s390/kernel/early.c
@@ -377,7 +377,7 @@ static int __init topology_setup(char *str)
rc = kstrtobool(str, &enabled);
if (!rc && !enabled)
- S390_lowcore.machine_flags &= ~MACHINE_HAS_TOPOLOGY;
+ S390_lowcore.machine_flags &= ~MACHINE_FLAG_TOPOLOGY;
return rc;
}
early_param("topology", topology_setup);
OpenPOWER on IntegriCloud