summaryrefslogtreecommitdiff
path: root/hw/cpu/icc_bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/cpu/icc_bus.c')
-rw-r--r--hw/cpu/icc_bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/cpu/icc_bus.c b/hw/cpu/icc_bus.c
index 73a1dc985f..8788144b98 100644
--- a/hw/cpu/icc_bus.c
+++ b/hw/cpu/icc_bus.c
@@ -95,7 +95,7 @@ static void icc_bridge_init(Object *obj)
/* Do not change order of registering regions,
* APIC must be first registered region, board maps it by 0 index
*/
- memory_region_init(&s->apic_container, "icc-apic-container",
+ memory_region_init(&s->apic_container, obj, "icc-apic-container",
APIC_SPACE_SIZE);
sysbus_init_mmio(sb, &s->apic_container);
s->icc_bus.apic_address_space = &s->apic_container;