commit | a66f6375bdeb64d7a56c532bda7c006358845820 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Tue May 04 13:42:53 2010 +0100 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue May 04 15:24:14 2010 -0700 |
tree | 2d42106075f70f23d12485edfdc4aba537187dcb | |
parent | c81406d6423416f1e18a8a41a3b7ac415fdf13d3 [diff] |
Fix the x86_64 implementation of call_rwsem_wait() 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>