Delete CLOCK_TICK_RATE, CLOCK_TICK_FACTOR and FINETUNE. These numbers
[linux-2.6/linux-mips.git] / include / asm-mips64 / timex.h
blob3369094f74eafd3f475665472ff98a23f761457a
1 /*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
6 * Copyright (C) 1998, 1999, 2003 by Ralf Baechle
7 */
8 #ifndef _ASM_TIMEX_H
9 #define _ASM_TIMEX_H
11 #include <asm/mipsregs.h>
14 * Standard way to access the cycle counter.
15 * Currently only used on SMP for scheduling.
17 * Only the low 32 bits are available as a continuously counting entity.
18 * But this only means we'll force a reschedule every 8 seconds or so,
19 * which isn't an evil thing.
21 * We know that all SMP capable CPUs have cycle counters.
24 typedef unsigned int cycles_t;
25 extern cycles_t cacheflush_time;
27 static inline cycles_t get_cycles (void)
29 return read_c0_count();
32 #endif /* _ASM_TIMEX_H */