]> err.no Git - linux-2.6/commitdiff
[MIPS] Alchemy: kill unused PCI_IRQ_TABLE_LOOKUP macro
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Tue, 22 Apr 2008 19:28:57 +0000 (23:28 +0400)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 28 Apr 2008 16:14:31 +0000 (17:14 +0100)
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/mach-au1x00/au1000.h

index a88637a93e012fbfcf593de802c78529d6e0da94..a05555165d05b14192c8ed7f19411a49382dbfbf 100644 (file)
@@ -1685,20 +1685,6 @@ enum soc_au1200_ints {
 #define IOMEM_RESOURCE_START  0x10000000
 #define IOMEM_RESOURCE_END    0xffffffff
 
-  /*
-   * Borrowed from the PPC arch:
-   * The following macro is used to lookup irqs in a standard table
-   * format for those PPC systems that do not already have PCI
-   * interrupts properly routed.
-   */
-  /* FIXME - double check this from asm-ppc/pci-bridge.h */
-#define PCI_IRQ_TABLE_LOOKUP                            \
-  ({ long _ctl_ = -1;                                 \
-      if (idsel >= min_idsel && idsel <= max_idsel && pin <= irqs_per_slot)    \
-              _ctl_ = pci_irq_table[idsel - min_idsel][pin-1];               \
-                     _ctl_; })
-
-
 #else /* Au1000 and Au1100 and Au1200 */
 
 /* don't allow any legacy ports probing */