diff options
author | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2003-06-29 20:50:48 +0000 |
---|---|---|
committer | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2003-06-29 20:50:48 +0000 |
commit | bbbc1d21c0dea5e643db03edbc0bd66bd97ef967 (patch) | |
tree | cbc887001ebf3ced4455aa98ae125f17250a3b5a /zaptel.c | |
parent | 0b4c37fc5e022300e2c12879583741d48536f449 (diff) |
Don't require i387 on fixed point mec3
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@205 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'zaptel.c')
-rwxr-xr-x | zaptel.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -65,7 +65,7 @@ /* Get helper arithmetic */ #include "arith.h" -#if defined(CONFIG_ZAPTEL_MMX) || defined(ECHO_CAN_MARK3) +#if defined(CONFIG_ZAPTEL_MMX) || defined(ECHO_CAN_FP) #include <asm/i387.h> #endif @@ -237,7 +237,7 @@ of the next sample chunk's data (next time around the world). #include "digits.h" -#if defined(CONFIG_ZAPTEL_MMX) || defined(ECHO_CAN_MARK3) +#if defined(CONFIG_ZAPTEL_MMX) || defined(ECHO_CAN_FP) /* XXX kernel_fpu_begin() is NOT exported properly, so we have to make a local version. Somebody fix this! XXX */ @@ -4679,7 +4679,7 @@ void zt_ec_chunk(struct zt_chan *ss, unsigned char *rxchunk, const unsigned char spin_lock_irqsave(&ss->lock, flags); /* Perform echo cancellation on a chunk if necessary */ if (ss->ec) { -#if defined(CONFIG_ZAPTEL_MMX) || defined(ECHO_CAN_MARK3) +#if defined(CONFIG_ZAPTEL_MMX) || defined(ECHO_CAN_FP) zt_kernel_fpu_begin(); #endif for (x=0;x<ZT_CHUNKSIZE;x++) { @@ -4687,7 +4687,7 @@ void zt_ec_chunk(struct zt_chan *ss, unsigned char *rxchunk, const unsigned char rxlin = echo_can_update(ss->ec, ZT_XLAW(txchunk[x], ss), rxlin); rxchunk[x] = ZT_LIN2X((int)rxlin, ss); } -#if defined(CONFIG_ZAPTEL_MMX) || defined(ECHO_CAN_MARK3) +#if defined(CONFIG_ZAPTEL_MMX) || defined(ECHO_CAN_FP) kernel_fpu_end(); #endif } |