blk-throttle: don't call xchg on bool
authorAndreas Schwab <schwab@linux-m68k.org>
Wed, 30 Mar 2011 10:21:56 +0000 (12:21 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Tue, 5 Apr 2011 21:51:37 +0000 (23:51 +0200)
commit6f0379377047b18103b88ce33c03e5b19747ae57
tree83a39f34bd29c38ab46faa21d65a45831a659287
parentee3dea3549444e6e76d27af48b4929983e6f023c
blk-throttle: don't call xchg on bool

xchg does not work portably with smaller than 32bit types.

Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-throttle.c