File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1104,13 +1104,14 @@ static int __init init_args(struct pgtable_debug_args *args)
11041104 /*
11051105 * Initialize the debugging data.
11061106 *
1107- * __P000 (or even __S000) will help create page table entries with
1108- * PROT_NONE permission as required for pxx_protnone_tests().
1107+ * protection_map[0] (or even protection_map[8]) will help create
1108+ * page table entries with PROT_NONE permission as required for
1109+ * pxx_protnone_tests().
11091110 */
11101111 memset (args , 0 , sizeof (* args ));
11111112 args -> vaddr = get_random_vaddr ();
11121113 args -> page_prot = vm_get_page_prot (VMFLAGS );
1113- args -> page_prot_none = __P000 ;
1114+ args -> page_prot_none = protection_map [ 0 ] ;
11141115 args -> is_contiguous_page = false;
11151116 args -> pud_pfn = ULONG_MAX ;
11161117 args -> pmd_pfn = ULONG_MAX ;
You can’t perform that action at this time.
0 commit comments