Michael Schmitz a259d53205 m68k/atari - ide: do not register interrupt if host->get_lock is set
On m68k, host->get_lock is used to both lock and register the interrupt
that the IDE host shares with other device drivers. Registering the
IDE interrupt handler in ide-probe.c results in duplicating the
interrupt registered (once via host->get lock, and also via init_irq()),
and may result in IDE accepting interrupts even when another driver has
locked the interrupt hardware. This opens the whole locking scheme up
to races.

host->get_lock is set on m68k only, so other drivers' behaviour is not
changed.

Signed-off-by: Michael Schmitz <schmitz@debian.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: David S. Miller <davem@davemloft.net>
Cc: linux-ide@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-03-04 15:58:31 -05:00
..
2013-11-14 18:21:25 -05:00
2013-09-05 15:21:29 -04:00
2013-09-05 15:21:29 -04:00
2011-03-09 19:54:27 +01:00
2011-10-03 14:28:18 -04:00
2009-03-27 12:46:34 +01:00
2009-05-17 19:12:25 +02:00
2010-01-19 11:30:09 -08:00
2013-10-16 18:40:57 -07:00
2013-09-16 18:19:04 -07:00
2013-01-03 15:57:03 -08:00
2013-09-05 15:21:29 -04:00