From 1ddcd0fd63f551d7424717d82da16cb3536712c8 Mon Sep 17 00:00:00 2001 From: Denis Drakhnia Date: Fri, 12 Jul 2024 14:01:53 +0300 Subject: [PATCH] linux/e2k: clean probe page cache for mprotect --- linux-user/e2k/cpu_loop.c | 1 + 1 file changed, 1 insertion(+) diff --git a/linux-user/e2k/cpu_loop.c b/linux-user/e2k/cpu_loop.c index 60b0a65fd6..b283456885 100644 --- a/linux-user/e2k/cpu_loop.c +++ b/linux-user/e2k/cpu_loop.c @@ -62,6 +62,7 @@ static void e2k_clear_probe_page_cache(uint32_t num) case TARGET_NR_remap_file_pages: case TARGET_NR_move_pages: case TARGET_NR_migrate_pages: + case TARGET_NR_mprotect: start_exclusive(); CPU_FOREACH(other_cpu) { E2KCPU *cpu = E2K_CPU(other_cpu);