aboutsummaryrefslogtreecommitdiff
path: root/hw/sh_intc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/sh_intc.c')
-rw-r--r--hw/sh_intc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/sh_intc.c b/hw/sh_intc.c
index a78419bede..99db51c6df 100644
--- a/hw/sh_intc.c
+++ b/hw/sh_intc.c
@@ -308,7 +308,8 @@ static void sh_intc_register(struct intc_desc *desc,
unsigned long address)
{
if (address)
- cpu_register_physical_memory(INTC_A7(address), 4, desc->iomemtype);
+ cpu_register_physical_memory_offset(INTC_A7(address), 4,
+ desc->iomemtype, INTC_A7(address));
}
static void sh_intc_register_source(struct intc_desc *desc,