ColdFire: Fix 5282 and 5271 interrupt mask bit
authorTsiChungLiew <Tsi-Chung.Liew@freescale.com>
Wed, 30 Jan 2008 21:04:42 +0000 (15:04 -0600)
committerJohn Rigby <jrigby@freescale.com>
Wed, 20 Feb 2008 20:33:45 +0000 (13:33 -0700)
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
cpu/mcf52x2/interrupts.c

index 2ccbde5..9167cec 100644 (file)
@@ -77,7 +77,7 @@ void dtimer_intr_setup(void)
        volatile int0_t *intp = (int0_t *) (CFG_INTR_BASE);
 
        intp->icr0[CFG_TMRINTR_NO] = CFG_TMRINTR_PRI;
-       intp->imrl0 &= ~0xFFFFFFFE;
+       intp->imrl0 &= 0xFFFFFFFE;
        intp->imrl0 &= ~CFG_TMRINTR_MASK;
 }
 #endif                         /* CONFIG_MCFTMR */