]> git.baikalelectronics.ru Git - kernel.git/commit
sgi-xpc: ensure flags are updated before bte_copy
authorRobin Holt <holt@sgi.com>
Thu, 29 Jan 2009 22:25:06 +0000 (14:25 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 30 Jan 2009 02:04:42 +0000 (18:04 -0800)
commit34afe7e131c58b82de8ca0b20826fc0455de9d04
treeb8ca162f1a6ed85b85d8e406a3e9588ed0786144
parente13ba4151031d43ac1316003c321bb759cf18605
sgi-xpc: ensure flags are updated before bte_copy

The clearing of the msg->flags needs a barrier between it and the notify
of the channel threads that the messages are cleaned and ready for use.

Signed-off-by: Robin Holt <holt@sgi.com>
Signed-off-by: Dean Nelson <dcn@sgi.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/sgi-xp/xpc_sn2.c
drivers/misc/sgi-xp/xpc_uv.c