summaryrefslogtreecommitdiffstats
path: root/arch/mips/include
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2012-02-24 08:07:06 -0700
committerGrant Likely <grant.likely@secretlab.ca>2012-02-24 09:47:23 -0700
commitabd2363f6a5f1030b935e0bdc15cf917313b3b10 (patch)
tree1f4546497af8162a60573203c5b017e2f7fed1f5 /arch/mips/include
parentb4e518547da042fdc65bd4bdafd046fed13337d5 (diff)
downloadlinux-abd2363f6a5f1030b935e0bdc15cf917313b3b10.tar.gz
linux-abd2363f6a5f1030b935e0bdc15cf917313b3b10.tar.bz2
linux-abd2363f6a5f1030b935e0bdc15cf917313b3b10.zip
irq_domain/mips: Allow irq_domain on MIPS
This patch makes IRQ_DOMAIN usable on MIPS. It uses an ugly workaround to preserve current behaviour so that MIPS has time to add irq_domain registration to the irq controller drivers. The workaround will be removed in Linux v3.6 Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Rob Herring <rob.herring@calxeda.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-mips@linux-mips.org
Diffstat (limited to 'arch/mips/include')
-rw-r--r--arch/mips/include/asm/irq.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/mips/include/asm/irq.h b/arch/mips/include/asm/irq.h
index 2354c870a63a..fb698dc09bc9 100644
--- a/arch/mips/include/asm/irq.h
+++ b/arch/mips/include/asm/irq.h
@@ -11,15 +11,12 @@
#include <linux/linkage.h>
#include <linux/smp.h>
+#include <linux/irqdomain.h>
#include <asm/mipsmtregs.h>
#include <irq.h>
-static inline void irq_dispose_mapping(unsigned int virq)
-{
-}
-
#ifdef CONFIG_I8259
static inline int irq_canonicalize(int irq)
{