diff options
author | Zoltan Menyhart <Zoltan.Menyhart@bull.net> | 2008-02-05 00:19:16 +0100 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2008-02-05 00:19:16 +0100 |
commit | 5302ac5019367470e123cb91844a28d6941e6912 (patch) | |
tree | 33b7ede4df3f5c476cec45b997471ef7a1567f9c /arch/ia64/kernel/efi.c | |
parent | [IA64] Fix the order of atomic operations in restore_previous_kprobes on ia64 (diff) | |
download | linux-5302ac5019367470e123cb91844a28d6941e6912.tar.xz linux-5302ac5019367470e123cb91844a28d6941e6912.zip |
[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, <Zoltan.Menyhart@bull.net>
Acked-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel/efi.c')
0 files changed, 0 insertions, 0 deletions