On 1/9/26 13:15, [email protected] wrote:
On 2026-09-01 11:52 +0200, Philippe Mathieu-Daudé wrote:
Both cpu_exec_start() and cpu_exec_end() take a non-const CPUState
argument, however here we get that argument via PTETranslate::env
so @in->env can not be const. Remove the const qualifier.

Fixes: 4a1e9d4d11c ("target/i386: Use atomic ops for pte updates")
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>

I think this is not really a fix, but more like a style/contract thing

Well otherwise I'm getting a build failure (discarded-qualifiers, but I
didn't record the output). I dropped that Fixes: tag, thanks!

anyway:
Reviewed-by: Marc-André Lureau <[email protected]>

---
  target/i386/tcg/system/excp_helper.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)


Reply via email to