[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 09:53:33 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 09:53 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0131270) svnbot (reporter) - 2011-01-31 09:53
 https://issues.asterisk.org/view.php?id=18604#c131270 
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 9721

U   linux/trunk/drivers/dahdi/dahdi-base.c

------------------------------------------------------------------------
r9721 | sruffell | 2011-01-31 09:53:32 -0600 (Mon, 31 Jan 2011) | 19 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>
------------------------------------------------------------------------

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-31 09:53 svnbot         Checkin                                      
2011-01-31 09:53 svnbot         Note Added: 0131270                          
======================================================================




More information about the asterisk-bugs mailing list