From: Zoltan Menyhart Date: Mon, 4 Feb 2008 23:19:16 +0000 (-0800) Subject: [IA64] Slim-down __clear_bit_unlock X-Git-Tag: v2.6.25-rc1~785^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5302ac5019367470e123cb91844a28d6941e6912;p=pandora-kernel.git [IA64] Slim-down __clear_bit_unlock - I removed the unnecessary barrier() from __clear_bit_unlock(). ia64_st4_rel_nta() makes sure all the modifications are globally seen before the bit is seen to be off. - I made __clear_bit() modeled after __set_bit() and __change_bit(). - I corrected some comments sating that a memory barrier is provided, yet in reality, it is the acquisition side of the memory barrier only. - I corrected some comments, e.g. test_and_clear_bit() was peaking about "bit to set". Signed-off-by: Zoltan Menyhart, Acked-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Tony Luck --- Reading git-diff-tree failed