Skip to content

Commit 40a4af5

Browse files
bulwahnakpm00
authored andcommitted
mm: fix CONFIG_STACK_GROWSUP typo in mm.h
Commit 2b6a3f0 ("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: 2b6a3f0 ("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>
1 parent 9dcdc0c commit 40a4af5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/mm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ enum {
438438
#define VM_NOHUGEPAGE INIT_VM_FLAG(NOHUGEPAGE)
439439
#define VM_MERGEABLE INIT_VM_FLAG(MERGEABLE)
440440
#define VM_STACK INIT_VM_FLAG(STACK)
441-
#ifdef CONFIG_STACK_GROWS_UP
441+
#ifdef CONFIG_STACK_GROWSUP
442442
#define VM_STACK_EARLY INIT_VM_FLAG(STACK_EARLY)
443443
#else
444444
#define VM_STACK_EARLY VM_NONE

0 commit comments

Comments
 (0)