[Asterisk-cvs] zaptel zaptel.c,1.64,1.65
citats at lists.digium.com
citats at lists.digium.com
Thu Apr 8 16:17:53 CDT 2004
Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/home/citats/cvs/zaptel
Modified Files:
zaptel.c
Log Message:
Fix MMX in zaptel with 2.6 kernels (bug 1364)
Index: zaptel.c
===================================================================
RCS file: /usr/cvsroot/zaptel/zaptel.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- zaptel.c 8 Apr 2004 08:04:05 -0000 1.64
+++ zaptel.c 8 Apr 2004 20:18:51 -0000 1.65
@@ -260,9 +260,10 @@
#include "digits.h"
#if defined(CONFIG_ZAPTEL_MMX) || defined(ECHO_CAN_FP)
-/* XXX kernel_fpu_begin() is NOT exported properly, so we have to make
+/* XXX kernel_fpu_begin() is NOT exported properly (in 2.4), so we have to make
a local version. Somebody fix this! XXX */
+#ifndef LINUX26
static inline void __save_init_fpu( struct task_struct *tsk )
{
if ( cpu_has_fxsr ) {
@@ -284,6 +285,9 @@
}
clts();
}
+#else
+#define zt_kernel_fpu_begin kernel_fpu_begin
+#endif /* LINUX26 */
#endif
static struct zt_timer {
More information about the svn-commits
mailing list