aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris
diff options
context:
space:
mode:
Diffstat (limited to 'arch/cris')
-rw-r--r--arch/cris/arch-v10/kernel/irq.c2
-rw-r--r--arch/cris/arch-v32/kernel/irq.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/cris/arch-v10/kernel/irq.c b/arch/cris/arch-v10/kernel/irq.c
index 7328a7cf7449..907cfb5a873d 100644
--- a/arch/cris/arch-v10/kernel/irq.c
+++ b/arch/cris/arch-v10/kernel/irq.c
@@ -199,7 +199,7 @@ init_IRQ(void)
199 199
200 /* Initialize IRQ handler descriptors. */ 200 /* Initialize IRQ handler descriptors. */
201 for(i = 2; i < NR_IRQS; i++) { 201 for(i = 2; i < NR_IRQS; i++) {
202 set_irq_desc_and_handler(i, &crisv10_irq_type, 202 irq_set_chip_and_handler(i, &crisv10_irq_type,
203 handle_simple_irq); 203 handle_simple_irq);
204 set_int_vector(i, interrupt[i]); 204 set_int_vector(i, interrupt[i]);
205 } 205 }
diff --git a/arch/cris/arch-v32/kernel/irq.c b/arch/cris/arch-v32/kernel/irq.c
index 0ad9db5126c7..54ac2f79f849 100644
--- a/arch/cris/arch-v32/kernel/irq.c
+++ b/arch/cris/arch-v32/kernel/irq.c
@@ -451,7 +451,7 @@ init_IRQ(void)
451 451
452 /* Point all IRQ's to bad handlers. */ 452 /* Point all IRQ's to bad handlers. */
453 for (i = FIRST_IRQ, j = 0; j < NR_IRQS; i++, j++) { 453 for (i = FIRST_IRQ, j = 0; j < NR_IRQS; i++, j++) {
454 set_irq_chip_and_handler(j, &crisv32_irq_type, 454 irq_set_chip_and_handler(j, &crisv32_irq_type,
455 handle_simple_irq); 455 handle_simple_irq);
456 set_exception_vector(i, interrupt[j]); 456 set_exception_vector(i, interrupt[j]);
457 } 457 }