diff options
-rwxr-xr-x | zaptel.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -260,9 +260,10 @@ of the next sample chunk's data (next time around the world). #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 @@ static inline void zt_kernel_fpu_begin(void) } clts(); } +#else +#define zt_kernel_fpu_begin kernel_fpu_begin +#endif /* LINUX26 */ #endif static struct zt_timer { |