]> git.baikalelectronics.ru Git - kernel.git/commit
[IA64] Fix rwsem: RWSEM_WAITING_BIAS must not be unsigned.
authorTony Luck <tony.luck@intel.com>
Thu, 12 Aug 2010 16:14:56 +0000 (09:14 -0700)
committerTony Luck <tony.luck@intel.com>
Thu, 12 Aug 2010 16:14:56 +0000 (09:14 -0700)
commit9c93d0373fd08cf26d2e4893a0d48bd4cc26ea4e
treeac0c90740fdb8de42c91d47fae0ef4c2bf824144
parent84d66362d67351c963d346cff67d29693b576f46
[IA64] Fix rwsem: RWSEM_WAITING_BIAS must not be unsigned.

Some nice improvements were made to rwsem in commit:

 b841fed27271bdfa7ae0feaa7e9332f59b32d4bd
 rwsem: wake queued readers when writer blocks on active read lock

but this change overlooked that ia64 had defined RWSEM_WAITING_BIAS
as an unsigned value, while the new code required a signed value (as
it is in every other architecture).

This fix suggested by the original patch author: Michel Lespinasse.

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/include/asm/rwsem.h