]> Git Repo - qemu.git/blobdiff - cpus.c
hw/arm/virt: Enable TZ extensions on the GIC if we are using them
[qemu.git] / cpus.c
diff --git a/cpus.c b/cpus.c
index a822ce3d80514ffe75ea77421c95a563c086ece6..c1e74d98248b8b3d6f9120865b4897497621fad2 100644 (file)
--- a/cpus.c
+++ b/cpus.c
@@ -145,7 +145,7 @@ int64_t cpu_get_icount_raw(void)
 
     icount = timers_state.qemu_icount;
     if (cpu) {
-        if (!cpu_can_do_io(cpu)) {
+        if (!cpu->can_do_io) {
             fprintf(stderr, "Bad icount read\n");
             exit(1);
         }
This page took 0.023276 seconds and 4 git commands to generate.