Apply patch 200-fix_deprecated_interrupt_definations.patch directly
SVN-Revision: 19454
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -157,7 +157,7 @@ out:
|
||||
|
||||
static struct irqaction cascade = {
|
||||
.handler = no_action,
|
||||
.flags = SA_INTERRUPT,
|
||||
.flags = IRQF_DISABLED,
|
||||
.name = "cascade",
|
||||
};
|
||||
|
||||
|
||||
@@ -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",
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user