]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mm: fix CONFIG_STACK_GROWSUP typo in mm.h
authorLukas Bulwahn <lukas.bulwahn@redhat.com>
Mon, 1 Dec 2025 12:29:22 +0000 (13:29 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 9 Dec 2025 19:25:33 +0000 (11:25 -0800)
Commit 2b6a3f061f11 ("mm: declare VMA flags by bit") significantly
refactors the header file include/linux/mm.h.  In that step, it introduces
a typo in an ifdef, referring to a non-existing config option
STACK_GROWS_UP, whereas the actual config option is called STACK_GROWSUP.

Fix this typo in the mm header file.

Link: https://lkml.kernel.org/r/20251201122922.352480-1-lukas.bulwahn@redhat.com
Fixes: 2b6a3f061f11 ("mm: declare VMA flags by bit")
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@redhat.com>
Acked-by: David Hildenbrand (Red Hat) <david@kernel.org>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Alice Ryhl <aliceryhl@google.com>
Cc: Liam Howlett <liam.howlett@oracle.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mm.h

index 2887d3b34d3e42fd86e9b173525c295e26267356..03f7f92d08c8a84613b33373bd34bf67dcbd68c5 100644 (file)
@@ -438,7 +438,7 @@ enum {
 #define VM_NOHUGEPAGE  INIT_VM_FLAG(NOHUGEPAGE)
 #define VM_MERGEABLE   INIT_VM_FLAG(MERGEABLE)
 #define VM_STACK       INIT_VM_FLAG(STACK)
-#ifdef CONFIG_STACK_GROWS_UP
+#ifdef CONFIG_STACK_GROWSUP
 #define VM_STACK_EARLY INIT_VM_FLAG(STACK_EARLY)
 #else
 #define VM_STACK_EARLY VM_NONE