]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Feb 2009 16:28:14 +0000 (08:28 -0800)
commitb706840821ea31290cdb235534578aed02e83330
treece559b52267974d7b788a505ead18be44e398f63
parent5f1681ab9d073dd4810e89e547abedc8ccb2f143
sgi-xpc: ensure flags are updated before bte_copy

commit 69b3bb65fa97a1e8563518dbbc35cd57beefb2d4 upstream.

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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/misc/sgi-xp/xpc_sn2.c
drivers/misc/sgi-xp/xpc_uv.c