locking/rwlock, x86: Clean up asm/spinlock*.h to remove old rwlock code
authorWaiman Long <Waiman.Long@hp.com>
Thu, 14 Aug 2014 17:27:30 +0000 (13:27 -0400)
committerIngo Molnar <mingo@kernel.org>
Wed, 10 Sep 2014 09:46:38 +0000 (11:46 +0200)
commit2ff810a7ef38b55ba6c7b80bb7ff22847fd3be69
treec75b76b3c7ec0d79a91c59e815e915cb2e336f57
parent315427691c7a064718b5ad7d378d7f1c1898a626
locking/rwlock, x86: Clean up asm/spinlock*.h to remove old rwlock code

As the x86 architecture now uses qrwlock for its read/write lock
implementation, it is no longer necessary to keep the old rwlock code
around. This patch removes the old rwlock code in the asm/spinlock.h
and asm/spinlock_types.h files. Now the ARCH_USE_QUEUE_RWLOCK
config parameter cannot be removed from x86/Kconfig or there will be
a compilation error.

Signed-off-by: Waiman Long <Waiman.Long@hp.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Scott J Norton <scott.norton@hp.com>
Cc: Dave Jones <davej@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Waiman Long <Waiman.Long@hp.com>
Link: http://lkml.kernel.org/r/1408037251-45918-2-git-send-email-Waiman.Long@hp.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/spinlock.h
arch/x86/include/asm/spinlock_types.h