[svn-commits] sruffell: branch linux/2.4 r9693 - /linux/branches/2.4/drivers/dahdi/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jan 20 23:33:06 CST 2011


Author: sruffell
Date: Thu Jan 20 23:33:02 2011
New Revision: 9693

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9693
Log:
dahdi: Add error if CONFIG_BKL is not defined

Might help when someone wonders why they are now getting errors about
"lock_kernel" being undefined.

Signed-off-by: Shaun Ruffell <sruffell at digium.com>
Acked-by: Kinsey Moore <kmoore at digium.com>

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

Modified:
    linux/branches/2.4/drivers/dahdi/dahdi-base.c

Modified: linux/branches/2.4/drivers/dahdi/dahdi-base.c
URL: http://svnview.digium.com/svn/dahdi/linux/branches/2.4/drivers/dahdi/dahdi-base.c?view=diff&rev=9693&r1=9692&r2=9693
==============================================================================
--- linux/branches/2.4/drivers/dahdi/dahdi-base.c (original)
+++ linux/branches/2.4/drivers/dahdi/dahdi-base.c Thu Jan 20 23:33:02 2011
@@ -87,6 +87,12 @@
 
 #if defined(EMPULSE) && defined(EMFLASH)
 #error "You cannot define both EMPULSE and EMFLASH"
+#endif
+
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)
+#ifndef CONFIG_BKL
+#error You must have CONFIG_BKL lock defined to build DAHDI
+#endif
 #endif
 
 /* Get helper arithmetic */




More information about the svn-commits mailing list