summaryrefslogtreecommitdiff
path: root/arch/m32r/oprofile
diff options
context:
space:
mode:
authorJason Uhlenkott <juhlenko@akamai.com>2007-07-19 08:50:16 (GMT)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-19 17:04:55 (GMT)
commit654ede200fe028373852bbca387ab4834ddb7228 (patch)
treed82908a5559e0fc899234220fb4a441bdb103055 /arch/m32r/oprofile
parentb113a3f7e85d7f97c8383a88a5bc7c2ea8daeb2f (diff)
downloadlinux-fsl-qoriq-654ede200fe028373852bbca387ab4834ddb7228.tar.xz
drivers/edac: mod race fix i82875p
If ERRSTS indicates that there's no error then we don't need to bother reading the other registers. In addition to making the common case faster, this actually fixes a small race where we don't see an error but we clear the error bits anyway, potentially wiping away info on an error that happened in the interim (or where a CE arrives between the first and second read of ERRSTS, causing us to falsely claim "UE overwrote CE"). Signed-off-by: Jason Uhlenkott <juhlenko@akamai.com> Signed-off-by: Douglas Thompson <dougthompson@xmission.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m32r/oprofile')
0 files changed, 0 insertions, 0 deletions