diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2010-09-29 13:24:48 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2010-09-29 13:24:48 +1000 |
commit | ab1fa53af92fc33202efa1c8283f4bf32e4f1583 (patch) | |
tree | cf114940ce1e489419d087c60bb00463b65a93ca /lib | |
parent | 1409be20946bb551474b9c6be3cac6585ebada65 (diff) | |
parent | 523f689a83f5f44a24d2b15dbd15bb0e75acec3d (diff) |
Merge remote branch 'bkl-config/config'
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 21ac83070a80..7b2a8ca97ada 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -461,6 +461,15 @@ config DEBUG_MUTEXES This feature allows mutex semantics violations to be detected and reported. +config BKL + bool "Big Kernel Lock" if (SMP || PREEMPT) + default y + help + This is the traditional lock that is used in old code instead + of proper locking. All drivers that use the BKL should depend + on this symbol. + Say Y here unless you are working on removing the BKL. + config DEBUG_LOCK_ALLOC bool "Lock debugging: detect incorrect freeing of live locks" depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT |