summaryrefslogtreecommitdiff
path: root/arch/m68knommu
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68knommu')
-rw-r--r--arch/m68knommu/platform/coldfire/intc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/m68knommu/platform/coldfire/intc.c b/arch/m68knommu/platform/coldfire/intc.c
index 88bffac50c67..14db26bf6e2f 100644
--- a/arch/m68knommu/platform/coldfire/intc.c
+++ b/arch/m68knommu/platform/coldfire/intc.c
@@ -103,10 +103,14 @@ void mcf_autovector(int irq)
static void intc_irq_mask(unsigned int irq)
{
+ if ((irq >= EIRQ1) && (irq <= EIRQ7))
+ mcf_setimr(irq - EIRQ1 + 1);
}
static void intc_irq_unmask(unsigned int irq)
{
+ if ((irq >= EIRQ1) && (irq <= EIRQ7))
+ mcf_clrimr(irq - EIRQ1 + 1);
}
static int intc_irq_set_type(unsigned int irq, unsigned int type)