[IA64] Remove rwsem limitation of 32k waiters
authorChristoph Lameter <clameter@sgi.com>
Mon, 22 Aug 2005 19:20:00 +0000 (12:20 -0700)
committerTony Luck <tony.luck@intel.com>
Tue, 23 Aug 2005 17:31:57 +0000 (10:31 -0700)
commit16592d269801ea68130b283c888ffb3c3e988299
treeb6a2666e8c2f496c20c97eea06b6e1012593b80b
parentf6fdd7d9c273bb2a20ab467cb57067494f932fa3
[IA64] Remove rwsem limitation of 32k waiters

We ran into the limit with the maximum number of waiters at one of our sites.

This patch increases the number of possible waiters from 2^15 to 2^31 by using
a long for the counter in struct rw_semaphore. S390 and alpha already do this.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Acked-by: Kenneth Chen <kenneth.w.chen@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
include/asm-ia64/rwsem.h