diff options
author | Greg Ungerer <gerg@uclinux.org> | 2010-09-09 09:12:53 +0200 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2010-10-21 02:17:30 +0200 |
commit | 04570b46215f81001c94b2baea4af3284d6161ec (patch) | |
tree | 0439cdb006d0f00e679a9ef2daec9a831fb32433 /arch/m68knommu/platform/68360 | |
parent | m68knommu: rename PT_OFF_VECTOR to PT_OFF_FORMATVEC. (diff) | |
download | linux-04570b46215f81001c94b2baea4af3284d6161ec.tar.xz linux-04570b46215f81001c94b2baea4af3284d6161ec.zip |
m68knommu: stop using __do_IRQ
The use of __do_IRQ is deprecated, so lets stop using it.
Generally the interrupts on the supported processors here are
level triggered, so this is strait forward to switch over to
using the standard handle_level_irq flow handler. (Although
some ColdFire parts support edge triggered GPIO line interrupts
we have no support for them yet).
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68knommu/platform/68360')
-rw-r--r-- | arch/m68knommu/platform/68360/ints.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/m68knommu/platform/68360/ints.c b/arch/m68knommu/platform/68360/ints.c index 6f22970d8c20..ad96ab1051f0 100644 --- a/arch/m68knommu/platform/68360/ints.c +++ b/arch/m68knommu/platform/68360/ints.c @@ -132,10 +132,8 @@ void init_IRQ(void) pquicc->intr_cimr = 0x00000000; for (i = 0; (i < NR_IRQS); i++) { - irq_desc[i].status = IRQ_DISABLED; - irq_desc[i].action = NULL; - irq_desc[i].depth = 1; - irq_desc[i].chip = &intc_irq_chip; + set_irq_chip(irq, &intc_irq_chip); + set_irq_handler(irq, handle_level_irq); } } |