* Alchemy: kill unused PCI_IRQ_TABLE_LOOKUP macro
@ 2008-04-22 19:28 Sergei Shtylyov
2008-04-22 23:13 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Sergei Shtylyov @ 2008-04-22 19:28 UTC (permalink / raw)
To: ralf; +Cc: linux-mips
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
---
include/asm-mips/mach-au1x00/au1000.h | 14 --------------
1 files changed, 14 deletions(-)
Index: linux-2.6/include/asm-mips/mach-au1x00/au1000.h
===================================================================
--- linux-2.6.orig/include/asm-mips/mach-au1x00/au1000.h
+++ linux-2.6/include/asm-mips/mach-au1x00/au1000.h
@@ -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 */
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-22 23:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-22 19:28 Alchemy: kill unused PCI_IRQ_TABLE_LOOKUP macro Sergei Shtylyov
2008-04-22 23:13 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox