]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
tboot add mt
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 7 Aug 2020 10:34:42 +0000 (06:34 -0400)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 5 Jan 2021 17:30:13 +0000 (12:30 -0500)
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
arch/x86/kernel/tboot.c

index ae64f98ec2ab6a213202bb15b16d34abc6780806..d9b1cc30976c45d9d28e45473192b8570e6fbefc 100644 (file)
@@ -90,6 +90,7 @@ void __init tboot_probe(void)
 static pgd_t *tboot_pg_dir;
 static struct mm_struct tboot_mm = {
        .mm_rb          = RB_ROOT,
+       .mm_mt          = MTREE_INIT(mm_mt, MAPLE_ALLOC_RANGE),
        .pgd            = swapper_pg_dir,
        .mm_users       = ATOMIC_INIT(2),
        .mm_count       = ATOMIC_INIT(1),