aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-24 02:24:27 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-24 02:24:27 -0700
commit389fb07b0a3ed522318b22e12054d0212990f5c6 (patch)
tree6dd9a109255ae17a7142345d4a7579b80da608ea /init
parent6ae629404093b6d8c9c085d0677840018904d026 (diff)
downloadhistory-389fb07b0a3ed522318b22e12054d0212990f5c6.tar.gz
Un-inline the big kernel lock.
Now that spinlocks are uninlined, it is silly to keep the BKL inlined. And this should make it a lot easier for people to play around with variations on the locking (ie Ingo's semaphores etc).
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index ee534ff7ea91c6..f8e2d9be7e82bd 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -50,6 +50,11 @@ config BROKEN_ON_SMP
depends on BROKEN || !SMP
default y
+config LOCK_KERNEL
+ bool
+ depends on SMP || PREEMPT
+ default y
+
endmenu
menu "General setup"