[Asterisk-cvs] zaptel ztdummy.c,1.11,1.12

kpfleming at lists.digium.com kpfleming at lists.digium.com
Mon Jul 11 08:36:11 CDT 2005


Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv8605

Modified Files:
	ztdummy.c 
Log Message:
enable USE_RTC by default for 2.6.13+ kernels, since they have a configure-time selectable HZ setting that does _not_ default to 1000Hz


Index: ztdummy.c
===================================================================
RCS file: /usr/cvsroot/zaptel/ztdummy.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- ztdummy.c	25 May 2005 19:14:54 -0000	1.11
+++ ztdummy.c	11 Jul 2005 12:44:28 -0000	1.12
@@ -45,10 +45,14 @@
  * the #define USE_RTC should be commented out.
  */
 #if defined(__i386__)
+#if LINUX_VERSION_CODE >= VERSION_CODE(2,6,13)
+#define USE_RTC
+#else
 #if 0
 #define USE_RTC
 #endif
 #endif
+#endif
 
 #include <linux/kernel.h>
 #include <linux/errno.h>




More information about the svn-commits mailing list