From: David Howells Date: Tue, 4 May 2010 12:42:53 +0000 (+0100) Subject: Fix the x86_64 implementation of call_rwsem_wait() X-Git-Tag: v2.6.34-rc7~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a66f6375bdeb64d7a56c532bda7c006358845820;p=pandora-kernel.git 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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed