]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
s390/topology: fix typo in early topology code
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 13 Mar 2017 12:36:10 +0000 (13:36 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 22 Mar 2017 07:29:08 +0000 (08:29 +0100)
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>
arch/s390/kernel/early.c

index 95298a41076f364a33b93dfd7b670629e45f5192..01cd7fe08d186f813a8ac2a3dedb64ddb440e566 100644 (file)
@@ -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);