summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-a4tech.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-06-14 16:16:10 (GMT)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-06-16 04:15:46 (GMT)
commit2fae0a524b193e200b71778407ad29b22417056a (patch)
treeea7a613377caf837b0cb6ac3c715e7d5a27636ea /drivers/hid/hid-a4tech.c
parent48c931125bf228a529b8d05218e9fdda899dfa93 (diff)
downloadlinux-2fae0a524b193e200b71778407ad29b22417056a.tar.xz
powerpc: Add memory clobber to mtspr()
Without this clobber, mtspr can be re-ordered by gcc vs. surrounding memory accesses. While this might be ok for some cases, it's not in others and I'm not confident that all callers get it right (In fact I'm sure some of them don't). So for now, let's make mtspr() itself contain a memory clobber until we can audit and fix everything, at which point we can remove it if we think it's worth doing so. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/hid/hid-a4tech.c')
0 files changed, 0 insertions, 0 deletions