]> 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>
Fri, 30 Oct 2020 19:09:01 +0000 (15:09 -0400)
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
arch/x86/kernel/tboot.c

index 992fb1415c0f1fcd7b5ec0b2346073dc41c1f332..e872d2848627f8b938f56e878cf62d131dfc422f 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),