diff options
Diffstat (limited to 'accel/tcg')
| -rw-r--r-- | accel/tcg/internal-target.h | 1 | ||||
| -rw-r--r-- | accel/tcg/user-exec.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/accel/tcg/internal-target.h b/accel/tcg/internal-target.h index fe109724c6..a03c05315a 100644 --- a/accel/tcg/internal-target.h +++ b/accel/tcg/internal-target.h @@ -37,6 +37,7 @@ void page_table_config_init(void); #endif #ifdef CONFIG_USER_ONLY +#include "user/page-protection.h" /* * For user-only, page_protect sets the page read-only. * Since most execution is already on read-only pages, and we'd need to diff --git a/accel/tcg/user-exec.c b/accel/tcg/user-exec.c index 4ed6dd19f3..636932303b 100644 --- a/accel/tcg/user-exec.c +++ b/accel/tcg/user-exec.c @@ -25,7 +25,7 @@ #include "qemu/rcu.h" #include "exec/cpu_ldst.h" #include "qemu/main-loop.h" -#include "exec/translate-all.h" +#include "user/page-protection.h" #include "exec/page-protection.h" #include "exec/helper-proto.h" #include "qemu/atomic128.h" |