diff options
author | Kyle McMartin <kyle@redhat.com> | 2010-10-14 22:31:11 -0400 |
---|---|---|
committer | Matt Turner <mattst88@monolith.freenet-rz.de> | 2011-01-16 23:42:11 -0500 |
commit | d5ccde0a64c3dbe954a8a13a6ba9fb3b6d7c6225 (patch) | |
tree | 00a7c1a1fc1fa42fdc88bdab8a30e40e3dcaa775 /arch/alpha/kernel/sys_sable.c | |
parent | e78bf5e6cbe837daa6ab628a5f679548742994d3 (diff) |
alpha: use set_irq_chip and push down __do_IRQ to the machine types
Also kill superfluous IRQ_DISABLED initialization, since that's the
default state of the irq_desc[i].status field.
Tested-by: Michael Cree <mcree@orcon.net.nz>
Signed-off-by: Kyle McMartin <kyle@redhat.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch/alpha/kernel/sys_sable.c')
-rw-r--r-- | arch/alpha/kernel/sys_sable.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/alpha/kernel/sys_sable.c b/arch/alpha/kernel/sys_sable.c index b2abe27a23cf..944b598b80e6 100644 --- a/arch/alpha/kernel/sys_sable.c +++ b/arch/alpha/kernel/sys_sable.c | |||
@@ -535,8 +535,9 @@ sable_lynx_init_irq(int nr_of_irqs) | |||
535 | long i; | 535 | long i; |
536 | 536 | ||
537 | for (i = 0; i < nr_of_irqs; ++i) { | 537 | for (i = 0; i < nr_of_irqs; ++i) { |
538 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; | 538 | irq_desc[i].status |= IRQ_LEVEL; |
539 | irq_desc[i].chip = &sable_lynx_irq_type; | 539 | set_irq_chip_and_handler(i, &sable_lynx_irq_type, |
540 | alpha_do_IRQ); | ||
540 | } | 541 | } |
541 | 542 | ||
542 | common_init_isa_dma(); | 543 | common_init_isa_dma(); |