timex.h patch / CP0 undefined
Hi,
could someone apply this patch to the cvs archive. This bites me everytime i am trying to build "ntp" or "xntp".
Index: timex.h
===================================================================
RCS file: /cvs/linux/include/asm-mips/timex.h,v
retrieving revision 1.2
timex.h +3 -0
@@ -17,6 +17,8 @@ (1000000/CLOCK_TICK_FACTOR) / (CLOCK_TICK_RATE/CLOCK_TICK_FACTOR)) \ << (SHIFT_SCALE-SHIFT_HZ)) / HZ) +#ifdef __KERNEL__ +/* * Standard way to access the cycle counter. * Currently only used on SMP for scheduling.
@@ -36,4 +38,5 @@return read_32bit_cp0_register (CP0_COUNT ); } +#endif /* __KERNEL__ */ #endif /* __ASM_MIPS_TIMEX_H */
Flo
Signature · 3 lines
Florian Lohoff [email protected] +49-5241-470566 "Technology is a constant battle between manufacturers producing bigger and more idiot-proof systems and nature producing bigger and better idiots."