patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / arch / i386 / kernel / mpparse.c
index 3e0c8a7..e8ed286 100644 (file)
@@ -1029,6 +1029,8 @@ extern FADT_DESCRIPTOR acpi_fadt;
 
 #ifdef CONFIG_ACPI_PCI
 
+int (*platform_rename_gsi)(int ioapic, int gsi);
+
 void __init mp_parse_prt (void)
 {
        struct list_head        *node = NULL;
@@ -1072,10 +1074,8 @@ void __init mp_parse_prt (void)
                        continue;
                ioapic_pin = gsi - mp_ioapic_routing[ioapic].gsi_base;
 
-               if (es7000_plat) {
-                       if (!ioapic && (gsi < 16))
-                               gsi += 16;
-               }
+               if (platform_rename_gsi)
+                       gsi = platform_rename_gsi(ioapic, gsi);
 
                /* 
                 * Avoid pin reprogramming.  PRTs typically include entries