Compile error in drivers/net/hamradio/baycom_epp.c (240-t11p5)
Hi.
Recent changes in the kernel has made the patch below necessary:
drivers/net/hamradio/baycom_epp.c +4 -4
@@ -812,10 +812,10 @@/* --------------------------------------------------------------------- */ #ifdef __i386__ -#define GETTICK (x) \ -({ \ - if (current_cpu_data.x86_capability & X86_FEATURE_TSC) \ - __asm__ __volatile__("rdtsc" : "=a" (x) : : "dx");\ +#define GETTICK (x) \ +({ \ + if (test_bit(X86_FEATURE_TSC, ¤t_cpu_data.x86_capability))\ + __asm__ __volatile__("rdtsc" : "=a" (x) : : "dx"); \ })#else /* __i386__ */ #define GETTICK (x)
Signature · 9 lines
Regards,
Rasmus([email protected])
There are two major products that come out of Berkeley: LSD and UNIX. We
don't believe this to be a coincidence. -- Jeremy S. Anderson
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/