Fix the x86_64 implementation of call_rwsem_wait()
authorDavid Howells <dhowells@redhat.com>
Tue, 4 May 2010 12:42:53 +0000 (13:42 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 4 May 2010 22:24:14 +0000 (15:24 -0700)
The x86_64 call_rwsem_wait() treats the active state counter part of the
R/W semaphore state as being 16-bit when it's actually 32-bit (it's half
of the 64-bit state).  It should do "decl %edx" not "decw %dx".

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

No differences found