]> Git Repo - linux.git/commit - lib/lockref.c
lockref: use BLOATED_SPINLOCKS to avoid explicit config dependencies
authorPeter Zijlstra <[email protected]>
Thu, 14 Nov 2013 22:31:54 +0000 (14:31 -0800)
committerLinus Torvalds <[email protected]>
Fri, 15 Nov 2013 00:32:20 +0000 (09:32 +0900)
commit57f4257eae33e036125973858934730250d464e3
treef8011cdf5b2e77abb4c721221793d40ed24985a7
parentea1e7ed33708c7a760419ff9ded0a6cb90586a50
lockref: use BLOATED_SPINLOCKS to avoid explicit config dependencies

Avoid the fragile Kconfig construct guestimating spinlock_t sizes; use a
friendly compile-time test to determine this.

[[email protected]: drop CONFIG_CMPXCHG_LOCKREF]
Signed-off-by: Peter Zijlstra <[email protected]>
Signed-off-by: Kirill A. Shutemov <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/lockref.h
lib/Kconfig
lib/lockref.c
This page took 0.056863 seconds and 4 git commands to generate.