]> Git Repo - qemu.git/blobdiff - target/arm/cpu64.c
target/mips: Fix emulation of MSA pack instructions on big endian hosts
[qemu.git] / target / arm / cpu64.c
index 0ec8cd41f19657afdffeebef1df2495d0092438c..1901997a0645f2a7770736d355e53f30a66e26d9 100644 (file)
@@ -21,7 +21,7 @@
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "cpu.h"
-#include "qemu-common.h"
+#include "qemu/module.h"
 #if !defined(CONFIG_USER_ONLY)
 #include "hw/loader.h"
 #endif
@@ -43,7 +43,7 @@ static inline void unset_feature(CPUARMState *env, int feature)
 #ifndef CONFIG_USER_ONLY
 static uint64_t a57_a53_l2ctlr_read(CPUARMState *env, const ARMCPRegInfo *ri)
 {
-    ARMCPU *cpu = arm_env_get_cpu(env);
+    ARMCPU *cpu = env_archcpu(env);
 
     /* Number of cores is in [25:24]; otherwise we RAZ */
     return (cpu->core_count - 1) << 24;
This page took 0.023034 seconds and 4 git commands to generate.