[POWERPC] Add new interrupt mapping core and change platforms to use it
[deliverable/linux.git] / arch / powerpc / platforms / cell / setup.c
index 70a4e903f7e2bf41c35b17a460c594bb43a42785..282987d6d4a2165272e3eef5ad68d15fd411a8e9 100644 (file)
@@ -80,6 +80,14 @@ static void cell_progress(char *s, unsigned short hex)
        printk("*** %04x : %s\n", hex, s ? s : "");
 }
 
+static void __init cell_pcibios_fixup(void)
+{
+       struct pci_dev *dev = NULL;
+
+       for_each_pci_dev(dev)
+               pci_read_irq_line(dev);
+}
+
 static void __init cell_init_irq(void)
 {
        iic_init_IRQ();
@@ -130,8 +138,6 @@ static void __init cell_init_early(void)
 
        cell_init_iommu();
 
-       ppc64_interrupt_controller = IC_CELL_PIC;
-
        DBG(" <- cell_init_early()\n");
 }
 
@@ -178,8 +184,7 @@ define_machine(cell) {
        .check_legacy_ioport    = cell_check_legacy_ioport,
        .progress               = cell_progress,
        .init_IRQ               = cell_init_irq,
-       .get_irq                = iic_get_irq,
-
+       .pcibios_fixup          = cell_pcibios_fixup,
 #ifdef CONFIG_KEXEC
        .machine_kexec          = default_machine_kexec,
        .machine_kexec_prepare  = default_machine_kexec_prepare,
This page took 0.023903 seconds and 5 git commands to generate.