diff --git a/mm/mmap.c b/mm/mmap.c index a5e3dcd75e79f40557cefc1bd5338d34eb4fa2f2..5a0ba9788cdda01fa759a85e1461f2f2aeeb642f 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -94,7 +94,7 @@ static void unmap_region(struct mm_struct *mm, * w: (no) no * x: (yes) yes */ -pgprot_t protection_map[16] = { +pgprot_t protection_map[16] __ro_after_init = { __P000, __P001, __P010, __P011, __P100, __P101, __P110, __P111, __S000, __S001, __S010, __S011, __S100, __S101, __S110, __S111 };