summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/pi/hudson/sm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/amd/pi/hudson/sm.c')
-rw-r--r--src/southbridge/amd/pi/hudson/sm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/southbridge/amd/pi/hudson/sm.c b/src/southbridge/amd/pi/hudson/sm.c
index c40bf5e1c9..2dc2ae3924 100644
--- a/src/southbridge/amd/pi/hudson/sm.c
+++ b/src/southbridge/amd/pi/hudson/sm.c
@@ -5,7 +5,6 @@
#include <device/pci_ids.h>
#include <device/smbus.h>
#include <arch/ioapic.h>
-#include <southbridge/amd/pi/hudson/ioapic.h>
#include "hudson.h"
#include "smbus.c"
@@ -22,7 +21,7 @@
static void sm_init(struct device *dev)
{
- setup_ioapic(VIO_APIC_VADDR, FCH_IOAPIC_ID);
+ register_new_ioapic_gsi0(VIO_APIC_VADDR);
}
static int lsmbus_recv_byte(struct device *dev)