summaryrefslogtreecommitdiff
path: root/src/mainboard/gigabyte/ma785gm/mptable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/gigabyte/ma785gm/mptable.c')
-rw-r--r--src/mainboard/gigabyte/ma785gm/mptable.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/gigabyte/ma785gm/mptable.c b/src/mainboard/gigabyte/ma785gm/mptable.c
index 11426c2343..678610393c 100644
--- a/src/mainboard/gigabyte/ma785gm/mptable.c
+++ b/src/mainboard/gigabyte/ma785gm/mptable.c
@@ -59,7 +59,8 @@ static void *smp_write_config_table(void *v)
PCI_DEVFN(sbdn_sb700 + 0x14, 0));
if (dev) {
dword = pci_read_config32(dev, 0x74) & 0xfffffff0;
- smp_write_ioapic(mc, apicid_sb700, 0x11, dword);
+ smp_write_ioapic(mc, apicid_sb700,
+ 0x11,(void *) dword);
/* Initialize interrupt mapping */
/* aza */