]> Git Repo - qemu.git/blobdiff - memory_mapping.c
tcg/tci: enable dynamic TLB sizing
[qemu.git] / memory_mapping.c
index 724dd0b417931e6d5d53f01f9f7a1af1b9a2c345..e3ec70624f871db4fc26494cad17b79034feaabb 100644 (file)
@@ -223,7 +223,7 @@ static void guest_phys_blocks_region_add(MemoryListener *listener,
     if (!QTAILQ_EMPTY(&g->list->head)) {
         hwaddr predecessor_size;
 
-        predecessor = QTAILQ_LAST(&g->list->head, GuestPhysBlockHead);
+        predecessor = QTAILQ_LAST(&g->list->head);
         predecessor_size = predecessor->target_end - predecessor->target_start;
 
         /* the memory API guarantees monotonically increasing traversal */
This page took 0.0227 seconds and 4 git commands to generate.