]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitb680f0979ff571836f3616dfca727b516bcc5d3d
treeac0c90740fdb8de42c91d47fae0ef4c2bf824144
parent5af568cbd55f60b5a1d174f621b273e4f585dc35
[IA64] Fix rwsem: RWSEM_WAITING_BIAS must not be unsigned.

Some nice improvements were made to rwsem in commit:

 424acaaeb3a3932d64a9b4bd59df6cf72c22d8f3
 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