From: Heiko Carstens Date: Mon, 13 Mar 2017 12:36:10 +0000 (+0100) Subject: s390/topology: fix typo in early topology code X-Git-Tag: v4.9.89~192 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58a1452cef23409aa42b67acf5c3e4284f88dba3;p=platform%2Fkernel%2Flinux-amlogic.git s390/topology: fix typo in early topology code [ Upstream commit 4fd4dd8bffb112d1e6549e0ff09e9fa3c8cc2b96 ] 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 Signed-off-by: Martin Schwidefsky Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/s390/kernel/early.c b/arch/s390/kernel/early.c index 29d8744..6257898 100644 --- a/arch/s390/kernel/early.c +++ b/arch/s390/kernel/early.c @@ -372,7 +372,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);