summaryrefslogtreecommitdiff
path: root/arch/xtensa/platforms
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2018-01-28 02:51:40 +0300
committerGeert Uytterhoeven <geert@linux-m68k.org>2018-03-19 12:22:59 +0300
commita1eb1cdf4e55e1ecdb4a474070450d8a648686bf (patch)
tree0196913c4bc5eab8872d31788558e8ee098e5ba4 /arch/xtensa/platforms
parente5f0d2e2a153b18dcf31e1a633e210c37829d759 (diff)
downloadlinux-a1eb1cdf4e55e1ecdb4a474070450d8a648686bf.tar.xz
m68k/mac: Fix apparent race condition in Baboon interrupt dispatch
The algorithm used in baboon_irq() appears to be subject to a race condition: an IRQ flag could be lost if asserted between the MOV instructions from and to the interrupt flag register. However, testing shows that the write to the flag register has no effect. Rewrite this loop to remove the apparent race condition. No-one seems to know how to clear Baboon IRQ flags, or whether that's even possible, so add a comment about this. Tested-by: Stan Johnson <userm57@yahoo.com> Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/xtensa/platforms')
0 files changed, 0 insertions, 0 deletions