summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-09-25 20:07:14 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2010-09-25 21:38:13 (GMT)
commit77edffb652b33a565e099ff0a1687762f03eb46a (patch)
tree1e6e9586fc563d867c8737feb855575314deaff7 /sound
parent56162badadb91aae93843d8d6558c7d7780e3cb2 (diff)
downloadlinux-77edffb652b33a565e099ff0a1687762f03eb46a.tar.xz
alpha: fix hae_cache race in RESTORE_ALL
We want interrupts disabled on all paths leading to RESTORE_ALL; otherwise, we are risking an IRQ coming between the updates of alpha_mv->hae_cache and *alpha_mv->hae_register and set_hae() within the IRQ getting badly confused. RESTORE_ALL used to play with disabling IRQ itself, but that got removed back in 2002, without making sure we had them disabled on all paths. It's cheaper to make sure we have them disabled than to revert to original variant... Remove the detritus left from that commit back in 2002; we used to need a reload of $0 and $1 since swpipl would change those, but doing that had become pointless when we stopped doing swpipl in there... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions