[svn-commits] sruffell: linux/trunk r9592 - /linux/trunk/drivers/dahdi/dahdi-base.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Jan 3 18:27:05 UTC 2011


Author: sruffell
Date: Mon Jan  3 12:27:01 2011
New Revision: 9592

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9592
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>

Modified:
    linux/trunk/drivers/dahdi/dahdi-base.c

Modified: linux/trunk/drivers/dahdi/dahdi-base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/dahdi-base.c?view=diff&rev=9592&r1=9591&r2=9592
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi-base.c (original)
+++ linux/trunk/drivers/dahdi/dahdi-base.c Mon Jan  3 12:27:01 2011
@@ -81,6 +81,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