x86, rwsem: Minor cleanups
authorMichel Lespinasse <walken@google.com>
Tue, 20 Jul 2010 22:19:45 +0000 (15:19 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 21 Jul 2010 00:41:14 +0000 (17:41 -0700)
commitb4bcb4c28c64cc2876b4aef218d992ce806194da
tree54ecb062c7fa2cc71f64c24a4be6d198aebf86a9
parenta751bd858b16dce57f3b6b85ba07946df1bd7be4
x86, rwsem: Minor cleanups

Clarified few comments and made initialization of %edx/%rdx more uniform
accross __down_write_nested, __up_read and __up_write functions.

Signed-off-by: Michel Lespinasse <walken@google.com>
LKML-Reference: <201007202219.o6KMJkiA021048@imap1.linux-foundation.org>
Acked-by: David Howells <dhowells@redhat.com>
Cc: Mike Waychison <mikew@google.com>
Cc: Suleiman Souhlal <suleiman@google.com>
Cc: Ying Han <yinghan@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/rwsem.h