[dahdi-commits] sruffell: linux/trunk r5509 -	/linux/trunk/include/dahdi/kernel.h
    SVN commits to the DAHDI project 
    dahdi-commits at lists.digium.com
       
    Thu Dec 11 15:46:10 CST 2008
    
    
  
Author: sruffell
Date: Thu Dec 11 15:46:09 2008
New Revision: 5509
URL: http://svn.digium.com/view/dahdi?view=rev&rev=5509
Log:
Add definition of dev_notice for kernels < 2.6.17.
Modified:
    linux/trunk/include/dahdi/kernel.h
Modified: linux/trunk/include/dahdi/kernel.h
URL: http://svn.digium.com/view/dahdi/linux/trunk/include/dahdi/kernel.h?view=diff&rev=5509&r1=5508&r2=5509
==============================================================================
--- linux/trunk/include/dahdi/kernel.h (original)
+++ linux/trunk/include/dahdi/kernel.h Thu Dec 11 15:46:09 2008
@@ -76,6 +76,13 @@
 #define DAHDI_IRQ_SHARED SA_SHIRQ
 #define DAHDI_IRQ_DISABLED SA_INTERRUPT
 #define DAHDI_IRQ_SHARED_DISABLED SA_SHIRQ | SA_INTERRUPT
+#endif
+
+#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,16)
+#ifndef dev_notice
+#define dev_notice(dev, format, arg...)         \
+        dev_printk(KERN_NOTICE , dev , format , ## arg)
+#endif
 #endif
 
 /*! Default chunk size for conferences and such -- static right now, might make
    
    
More information about the dahdi-commits
mailing list