diff options
author | Michael Schmitz <[email protected]> | 2014-02-01 13:48:13 +1300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-03-04 15:58:31 -0500 |
commit | a259d5320537576c0744238f01ca6e75ad776674 (patch) | |
tree | a37cd51c0f9742b06b2cb6b8edfeb01d1b902e98 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 0c0bd34a142963ca3454f530e47ce1c230d8cc9d (diff) |
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 <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: [email protected]
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions