[PARISC] Only write to memory in test_and_set_bit/test_and_clear_bit if we're
authorMatthew Wilcox <matthew@wil.cx>
Thu, 14 Dec 2006 16:00:25 +0000 (09:00 -0700)
committerKyle McMartin <kyle@athena.road.mcmartin.ca>
Sat, 17 Feb 2007 05:43:03 +0000 (00:43 -0500)
commitaf5917f0cd60715ed09874bb793d4f62ba692f47
treef808220b3254089658d1c35c76096aadf989f38b
parentd6ce8626dbc7d277d29b62e31c24ce777c60546b
[PARISC] Only write to memory in test_and_set_bit/test_and_clear_bit if we're

going to change the bit.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
include/asm-parisc/bitops.h