oprofile: fix memory ordering
commitcae042a73bb22fc4132b04ff94bd684456203089
authorNick Piggin <npiggin@suse.de>
Thu, 23 Oct 2008 14:25:54 +0000 (23 16:25 +0200)
committerRobert Richter <robert.richter@amd.com>
Mon, 27 Oct 2008 18:15:41 +0000 (27 19:15 +0100)
tree5f4042eaab705c64461522a09967ae7581bdb0d0
parentfa448d6008cc81a3537e5db168fa0490e0caba68
oprofile: fix memory ordering

Regular bitops don't work as locks on all architectures.

Also: can use non-atomic unlock as no concurrent stores to the word.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Robert Richter <robert.richter@amd.com>
drivers/oprofile/event_buffer.c