lkml.org 
[lkml]   [2010]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 7/7] BKL: move CONFIG_BKL to staging
    Date
    Instead of moving the actual code to staging for stuff that
    depends on CONFIG_BKL, this moves just the configuration
    option it depends on.

    As a consequence, the remaining non-staging drivers that use
    the BKL (i830, appletalk, ipx, x25, adfs, hpfs and ufs)
    implicitly depend on staging until they get fixed.

    This sets 2.6.39 as the arbitrary date when we actually remove
    the option along with its last users.

    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    ---
    drivers/staging/Kconfig | 11 +++++++++++
    lib/Kconfig.debug | 9 ---------
    2 files changed, 11 insertions(+), 9 deletions(-)

    diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig
    index 5eafdf4..5adf537 100644
    --- a/drivers/staging/Kconfig
    +++ b/drivers/staging/Kconfig
    @@ -41,6 +41,17 @@ config STAGING_EXCLUDE_BUILD

    if !STAGING_EXCLUDE_BUILD

    +config BKL
    + bool "Include drivers that depend on the Big Kernel Lock" if (SMP || PREEMPT)
    + default !(SMP || PREEMPT)
    + 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.
    + A small number of drivers still require this. All drivers that
    + use the BKL should be changed to a better serialisation method
    + or they will be removed in 2.6.39.
    +
    source "drivers/staging/et131x/Kconfig"

    source "drivers/staging/slicoss/Kconfig"
    diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
    index 65aaefd..968d183 100644
    --- a/lib/Kconfig.debug
    +++ b/lib/Kconfig.debug
    @@ -469,15 +469,6 @@ config DEBUG_MUTEXES
    This feature allows mutex semantics violations to be detected and
    reported.

    -config BKL
    - bool "Big Kernel Lock" if (SMP || PREEMPT)
    - default !(SMP || PREEMPT)
    - help
    - This is the traditional lock that is used in old code instead
    - of proper locking. The big kernel lock will go away in 2.6.39,
    - so all modules that still depend on it need to be changed or
    - they will be removed as well.
    -
    config DEBUG_LOCK_ALLOC
    bool "Lock debugging: detect incorrect freeing of live locks"
    depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT
    --
    1.7.1


    \
     
     \ /
      Last update: 2010-11-17 16:31    [W:0.025 / U:29.788 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site