[asterisk-bugs] [DAHDI-linux 0018604]: [patch] fails to compile against kernel 2.6.37 without CONFIG_BKL

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 31 11:59:02 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18604 
====================================================================== 
Reported By:                jkroon
Assigned To:                sruffell
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   18604
Category:                   dahdi (the module)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     ready for review
JIRA:                       DAHDI-752 
Reviewboard Link:            
====================================================================== 
Date Submitted:             2011-01-12 07:28 CST
Last Modified:              2011-01-31 11:59 CST
====================================================================== 
Summary:                    [patch] fails to compile against kernel 2.6.37
without CONFIG_BKL
Description: 
dahdi-linux refuses to compile against the 2.6.37 kernel unless CONFIG_BKL
is set.  CONFIG_BKL is set to die very soon.
====================================================================== 

---------------------------------------------------------------------- 
 (0131275) svnbot (reporter) - 2011-01-31 11:59
 https://issues.asterisk.org/view.php?id=18604#c131275 
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 9725

U   linux/branches/2.4/drivers/dahdi/dahdi-base.c

------------------------------------------------------------------------
r9725 | sruffell | 2011-01-31 11:59:02 -0600 (Mon, 31 Jan 2011) | 21 lines

dahdi: Experimentally remove dependency on the Big Kernel Lock.

With the release of Linux 2.6.37, the Big Kernel Lock is now a compile
time option.  This change adds a mutex around the one place in the code
that we already knew was dependent on the lock_kernel/unlock_kernel
calls for serialization and drops the other calls to
lock_kernel/unlock_kernel if CONFIG_BKL is not defined.

This is *mostly* the dahdi-no-bkl.patch with a few minor whitespace
changes, the global_dialparmslock made static, and a warning added to
let people know they are running an experimental configuration.

(issue https://issues.asterisk.org/view.php?id=18604)
Reported by: jkroon
Patches:
      dahdi-no-bkl.patch uploaded by jkroon (license 714)

Signed-off-by: Jaco Kroon <jaco at uls.co.za>
Signed-off-by: Shaun Ruffell <sruffell at digium.com>

Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=9721
------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=9725 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-31 11:59 svnbot         Checkin                                      
2011-01-31 11:59 svnbot         Note Added: 0131275                          
======================================================================




More information about the asterisk-bugs mailing list