]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
m68k: mac baboon interrupt enable/disable
authorFinn Thain <fthain@telegraphics.com.au>
Tue, 18 Nov 2008 19:45:21 +0000 (20:45 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 28 Dec 2008 19:00:04 +0000 (20:00 +0100)
commit746e8d3b223281f0e5472ab0ad8f59af2221ea9b
tree47cd58b80407be264b5e55174771b674c2289de6
parent429dbf53bca49b110f1058f0d9417a59115c41b8
m68k: mac baboon interrupt enable/disable

No-one seems to know how to mask individual baboon interrupts, so we just
mask the umbrella IRQ. This will work as long as only the IDE driver uses
the baboon chip (it can't deadlock). Use mac_enable_irq/mac_disable_irq
rather than enable_irq/disable_irq because the latter routines count the
depth of nested calls which triggers a warning and call trace because
IRQ_NUBUS_C is enabled twice in a row (once when the baboon handler is
registered, and once when the IDE IRQ is registered).

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/mac/baboon.c
arch/m68k/mac/macints.c