|author||Arnd Bergmann <firstname.lastname@example.org>||2010-09-11 18:00:57 +0200|
|committer||Arnd Bergmann <email@example.com>||2010-10-21 15:44:13 +0200|
BKL: introduce CONFIG_BKL.
With all the patches we have queued in the BKL removal tree, only a few dozen modules are left that actually rely on the BKL, and even there are lots of low-hanging fruit. We need to decide what to do about them, this patch illustrates one of the options: Every user of the BKL is marked as 'depends on BKL' in Kconfig, and the CONFIG_BKL becomes a user-visible option. If it gets disabled, no BKL using module can be built any more and the BKL code itself is compiled out. The one exception is file locking, which is practically always enabled and does a 'select BKL' instead. This effectively forces CONFIG_BKL to be enabled until we have solved the fs/lockd mess and can apply the patch that removes the BKL from fs/locks.c. Signed-off-by: Arnd Bergmann <firstname.lastname@example.org>
Diffstat (limited to 'net/x25')
1 files changed, 1 insertions, 0 deletions
diff --git a/net/x25/Kconfig b/net/x25/Kconfig
index e6759c9660bb..2196e55e4f61 100644
@@ -5,6 +5,7 @@
tristate "CCITT X.25 Packet Layer (EXPERIMENTAL)"
depends on EXPERIMENTAL
+ depends on BKL # should be fixable
X.25 is a set of standardized network protocols, similar in scope to
frame relay; the one physical line from your box to the X.25 network