summaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-11-14 15:54:48 +0100
committerJuan Quintela <quintela@redhat.com>2012-12-20 23:08:47 +0100
commita3161038a1fd17a638a0c606f71e1f799f65f41b (patch)
tree3e4d1c07fc4e933968e0d6065522cc199f9289d3 /target-i386
parent0d6d3c87a232cc27641dde3491d75c8021745d02 (diff)
downloadqemu-a3161038a1fd17a638a0c606f71e1f799f65f41b.tar.gz
qemu-a3161038a1fd17a638a0c606f71e1f799f65f41b.tar.bz2
qemu-a3161038a1fd17a638a0c606f71e1f799f65f41b.zip
exec: change RAM list to a TAILQ
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/arch_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/arch_dump.c b/target-i386/arch_dump.c
index 8209ce9ee2..2cd2f7f09e 100644
--- a/target-i386/arch_dump.c
+++ b/target-i386/arch_dump.c
@@ -403,7 +403,7 @@ int cpu_get_dump_info(ArchDumpInfo *info)
} else {
info->d_class = ELFCLASS32;
- QLIST_FOREACH(block, &ram_list.blocks, next) {
+ QTAILQ_FOREACH(block, &ram_list.blocks, next) {
if (block->offset + block->length > UINT_MAX) {
/* The memory size is greater than 4G */
info->d_class = ELFCLASS64;