Philippe Mathieu-Daudé
67e17ab2b3
exec/cpu-common.h: Avoid including unused exec/page-protection.h header
Since commit e74781c0888e ("exec/cpu: Extract page-protection
definitions to page-protection.h") the "exec/cpu-common.h" isn't
using anything defined in "exec/page-protection.h"; remove it.
Include it in few files where it is currently pulled in indirectly,
otherwise we'd get:
linux-user/qemu.h:182:22: error: ‘PAGE_READ’ undeclared
182 | #define VERIFY_READ PAGE_READ
| ^~~~~~~~~
target/loongarch/cpu_helper.c:329:25: error: use of undeclared identifier 'PAGE_READ'
329 | context->prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC;
| ^
target/loongarch/cpu_helper.c:329:37: error: use of undeclared identifier 'PAGE_WRITE'
329 | context->prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC;
| ^
target/loongarch/cpu_helper.c:329:50: error: use of undeclared identifier 'PAGE_EXEC'
329 | context->prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC;
| ^
target/ppc/mmu-hash32.h:98:20: error: use of undeclared identifier 'PAGE_READ'
98 | prot = PAGE_READ | PAGE_WRITE;
| ^
target/ppc/mmu-hash32.h:98:32: error: use of undeclared identifier 'PAGE_WRITE'
98 | prot = PAGE_READ | PAGE_WRITE;
| ^
hw/ppc/ppc_booke.c:39:17: error: use of undeclared identifier 'PAGE_RWX'
39 | tlb->prot = PAGE_RWX << 4 | PAGE_VALID;
| ^
hw/ppc/ppc_booke.c:39:33: error: use of undeclared identifier 'PAGE_VALID'
39 | tlb->prot = PAGE_RWX << 4 | PAGE_VALID;
| ^
Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20260617160426.64461-6-philmd@oss.qualcomm.com>
2026-06-18 14:27:21 +02:00
..
2026-06-18 14:27:21 +02:00
2026-02-25 23:46:04 +01:00
2025-03-08 07:55:03 -08:00
2026-02-02 16:43:38 +01:00
2026-03-10 17:12:18 -07:00
2026-05-06 12:38:09 +02:00
2025-04-30 12:45:05 -07:00
2025-04-23 14:08:44 -07:00
2025-07-15 02:56:39 -04:00
2026-01-22 10:48:45 +01:00
2025-10-10 10:42:12 +01:00
2025-04-23 14:08:17 -07:00
2025-10-14 07:30:39 -07:00
2026-02-26 00:12:07 +01:00
2026-02-09 20:51:52 +01:00
2025-09-02 17:57:05 +02:00
2025-09-24 10:29:43 -07:00
2025-02-18 08:29:02 -08:00
2025-04-23 15:04:57 -07:00
2026-04-29 11:41:00 +10:00
2026-04-23 10:24:10 +01:00
2026-03-12 19:24:18 +00:00
2025-02-18 08:29:02 -08:00
2026-01-12 23:47:57 +01:00