MIPS: Alchemy: higher priority for system timer.
authorManuel Lauss <manuel.lauss@googlemail.com>
Wed, 7 Oct 2009 18:15:13 +0000 (20:15 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 27 Feb 2010 11:52:52 +0000 (12:52 +0100)
Raise RTCMATCH2 interrupt priority in case it is used as the system
timer tick.

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/alchemy/common/irq.c

index ceb98b2f96c3c0a97e579039b173cdf3a6b38db8..8b5f00b3ad4e50ffef8a9509897ebb42faa65cf9 100644 (file)
@@ -74,7 +74,7 @@ struct au1xxx_irqmap {
        { AU1000_RTC_INT, IRQ_TYPE_EDGE_RISING, 0 },
        { AU1000_RTC_MATCH0_INT, IRQ_TYPE_EDGE_RISING, 0 },
        { AU1000_RTC_MATCH1_INT, IRQ_TYPE_EDGE_RISING, 0 },
-       { AU1000_RTC_MATCH2_INT, IRQ_TYPE_EDGE_RISING, 0 },
+       { AU1000_RTC_MATCH2_INT, IRQ_TYPE_EDGE_RISING, 1 },
        { AU1000_IRDA_TX_INT, IRQ_TYPE_LEVEL_HIGH, 0 },
        { AU1000_IRDA_RX_INT, IRQ_TYPE_LEVEL_HIGH, 0 },
        { AU1000_USB_DEV_REQ_INT, IRQ_TYPE_LEVEL_HIGH, 1 },
@@ -108,7 +108,7 @@ struct au1xxx_irqmap {
        { AU1000_RTC_INT, IRQ_TYPE_EDGE_RISING, 0 },
        { AU1000_RTC_MATCH0_INT, IRQ_TYPE_EDGE_RISING, 0 },
        { AU1000_RTC_MATCH1_INT, IRQ_TYPE_EDGE_RISING, 0 },
-       { AU1000_RTC_MATCH2_INT, IRQ_TYPE_EDGE_RISING, 0 },
+       { AU1000_RTC_MATCH2_INT, IRQ_TYPE_EDGE_RISING, 1 },
        { AU1000_USB_DEV_REQ_INT, IRQ_TYPE_LEVEL_HIGH, 1 },
        { AU1000_USB_DEV_SUS_INT, IRQ_TYPE_EDGE_RISING, 0 },
        { AU1000_USB_HOST_INT, IRQ_TYPE_LEVEL_LOW, 0 },
@@ -140,7 +140,7 @@ struct au1xxx_irqmap {
        { AU1000_RTC_INT, IRQ_TYPE_EDGE_RISING, 0 },
        { AU1000_RTC_MATCH0_INT, IRQ_TYPE_EDGE_RISING, 0 },
        { AU1000_RTC_MATCH1_INT, IRQ_TYPE_EDGE_RISING, 0 },
-       { AU1000_RTC_MATCH2_INT, IRQ_TYPE_EDGE_RISING, 0 },
+       { AU1000_RTC_MATCH2_INT, IRQ_TYPE_EDGE_RISING, 1 },
        { AU1000_IRDA_TX_INT, IRQ_TYPE_LEVEL_HIGH, 0 },
        { AU1000_IRDA_RX_INT, IRQ_TYPE_LEVEL_HIGH, 0 },
        { AU1000_USB_DEV_REQ_INT, IRQ_TYPE_LEVEL_HIGH, 1 },
@@ -174,7 +174,7 @@ struct au1xxx_irqmap {
        { AU1000_RTC_INT, IRQ_TYPE_EDGE_RISING, 0 },
        { AU1000_RTC_MATCH0_INT, IRQ_TYPE_EDGE_RISING, 0 },
        { AU1000_RTC_MATCH1_INT, IRQ_TYPE_EDGE_RISING, 0 },
-       { AU1000_RTC_MATCH2_INT, IRQ_TYPE_EDGE_RISING, 0 },
+       { AU1000_RTC_MATCH2_INT, IRQ_TYPE_EDGE_RISING, 1 },
        { AU1550_NAND_INT, IRQ_TYPE_EDGE_RISING, 0 },
        { AU1550_USB_DEV_REQ_INT, IRQ_TYPE_LEVEL_HIGH, 1 },
        { AU1550_USB_DEV_SUS_INT, IRQ_TYPE_EDGE_RISING, 0 },
@@ -202,7 +202,7 @@ struct au1xxx_irqmap {
        { AU1000_RTC_INT, IRQ_TYPE_EDGE_RISING, 0 },
        { AU1000_RTC_MATCH0_INT, IRQ_TYPE_EDGE_RISING, 0 },
        { AU1000_RTC_MATCH1_INT, IRQ_TYPE_EDGE_RISING, 0 },
-       { AU1000_RTC_MATCH2_INT, IRQ_TYPE_EDGE_RISING, 0 },
+       { AU1000_RTC_MATCH2_INT, IRQ_TYPE_EDGE_RISING, 1 },
        { AU1200_NAND_INT, IRQ_TYPE_EDGE_RISING, 0 },
        { AU1200_USB_INT, IRQ_TYPE_LEVEL_HIGH, 0 },
        { AU1200_LCD_INT, IRQ_TYPE_LEVEL_HIGH, 0 },