summaryrefslogtreecommitdiff
path: root/target/linux/amazon/files/arch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2010-01-31 15:07:49 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2010-01-31 15:07:49 +0000
commit038f0e6bbef7c352ffbd1abecbfeafb11d79d1e5 (patch)
treec972733bb69d0f7950080bf64bba8c7a3daea7c2 /target/linux/amazon/files/arch
parentb6a1293e1e41508ee7a4e4b2fd3a0b1fd08337eb (diff)
downloadmtk-20170518-038f0e6bbef7c352ffbd1abecbfeafb11d79d1e5.zip
mtk-20170518-038f0e6bbef7c352ffbd1abecbfeafb11d79d1e5.tar.gz
mtk-20170518-038f0e6bbef7c352ffbd1abecbfeafb11d79d1e5.tar.bz2
Apply patch 200-fix_deprecated_interrupt_definations.patch directly
SVN-Revision: 19454
Diffstat (limited to 'target/linux/amazon/files/arch')
-rw-r--r--target/linux/amazon/files/arch/mips/amazon/dma-core.c2
-rw-r--r--target/linux/amazon/files/arch/mips/amazon/interrupt.c2
-rw-r--r--target/linux/amazon/files/arch/mips/amazon/setup.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/amazon/files/arch/mips/amazon/dma-core.c b/target/linux/amazon/files/arch/mips/amazon/dma-core.c
index 242bc77..6362895 100644
--- a/target/linux/amazon/files/arch/mips/amazon/dma-core.c
+++ b/target/linux/amazon/files/arch/mips/amazon/dma-core.c
@@ -1387,7 +1387,7 @@ static int dma_init(void)
AMAZON_DMA_EMSG("cannot register device dma-core!\n");
return result;
}
- result = request_irq(AMAZON_DMA_INT, dma_interrupt, SA_INTERRUPT, "dma-core", (void *) &dma_interrupt);
+ result = request_irq(AMAZON_DMA_INT, dma_interrupt, IRQF_DISABLED, "dma-core", (void *) &dma_interrupt);
if (result) {
AMAZON_DMA_EMSG("error, cannot get dma_irq!\n");
free_irq(AMAZON_DMA_INT, (void *) &dma_interrupt);
diff --git a/target/linux/amazon/files/arch/mips/amazon/interrupt.c b/target/linux/amazon/files/arch/mips/amazon/interrupt.c
index 5e34e05..e61ccdf 100644
--- a/target/linux/amazon/files/arch/mips/amazon/interrupt.c
+++ b/target/linux/amazon/files/arch/mips/amazon/interrupt.c
@@ -157,7 +157,7 @@ out:
static struct irqaction cascade = {
.handler = no_action,
- .flags = SA_INTERRUPT,
+ .flags = IRQF_DISABLED,
.name = "cascade",
};
diff --git a/target/linux/amazon/files/arch/mips/amazon/setup.c b/target/linux/amazon/files/arch/mips/amazon/setup.c
index 45ff254..8c3c86c 100644
--- a/target/linux/amazon/files/arch/mips/amazon/setup.c
+++ b/target/linux/amazon/files/arch/mips/amazon/setup.c
@@ -107,7 +107,7 @@ static void amazon_timer6_interrupt(int irq, void *dev_id)
static struct irqaction hrt_irqaction = {
.handler = amazon_timer6_interrupt,
- .flags = SA_INTERRUPT,
+ .flags = IRQF_DISABLED,
.name = "hrt",
};