FROMLIST: mm: export dump_mm

This is necessary in order to allow VM_BUG_ON_MM to be used in modules
(I encountered the issue when adding VM_BUG_ON_MM in mmap locking functions).

Signed-off-by: Michel Lespinasse <michel@lespinasse.org>
Link: https://lore.kernel.org/all/20220128131006.67712-2-michel@lespinasse.org/
Bug: 161210518
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ia373e4adde92ee4aa59ff9a1313d42a3ebccb7e3
This commit is contained in:
Michel Lespinasse
2022-01-24 17:43:53 -08:00
committed by Todd Kjos
parent 5715f9497b
commit 80169a2fe4

View File

@@ -266,6 +266,7 @@ void dump_mm(const struct mm_struct *mm)
mm->def_flags, &mm->def_flags mm->def_flags, &mm->def_flags
); );
} }
EXPORT_SYMBOL(dump_mm);
static bool page_init_poisoning __read_mostly = true; static bool page_init_poisoning __read_mostly = true;