aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/hp/dl165_g6_fam10/mptable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/hp/dl165_g6_fam10/mptable.c')
-rw-r--r--src/mainboard/hp/dl165_g6_fam10/mptable.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/hp/dl165_g6_fam10/mptable.c b/src/mainboard/hp/dl165_g6_fam10/mptable.c
index 86f2cc62f4..5eda5583fb 100644
--- a/src/mainboard/hp/dl165_g6_fam10/mptable.c
+++ b/src/mainboard/hp/dl165_g6_fam10/mptable.c
@@ -68,7 +68,8 @@ static void *smp_write_config_table(void *v)
res = find_resource(dev, PCI_BASE_ADDRESS_0);
if (res) {
printk(BIOS_DEBUG, "APIC %d base address: %x\n",m->apicid_bcm5785[i], (int)res->base);
- smp_write_ioapic(mc, m->apicid_bcm5785[i], 0x11, res->base);
+ smp_write_ioapic(mc, m->apicid_bcm5785[i], 0x11,
+ res2mmio(res, 0, 0));
}
}
}