Fix IP22 timer calibration.
[linux-2.6/linux-mips.git] / include / asm-mips64 / param.h
blob854088bb18b442275c62e6423a4dcbb9ebffb374
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 1994 - 2000, 2002 Ralf Baechle (ralf@gnu.org)
7 * Copyright 2000 Silicon Graphics, Inc.
8 */
9 #ifndef _ASM_PARAM_H
10 #define _ASM_PARAM_H
12 #ifdef __KERNEL__
14 #include <linux/config.h>
16 #ifdef CONFIG_DECSTATION
18 * log2(HZ), change this here if you want another HZ value. This is also
19 * used in dec_time_init. Minimum is 1, Maximum is 15.
21 # define LOG_2_HZ 7
22 # define HZ (1 << LOG_2_HZ)
23 #else
24 # define HZ 1000 /* Internal kernel timer frequency */
25 #endif
26 # define USER_HZ 100 /* .. some user interfaces are in "ticks" */
27 # define CLOCKS_PER_SEC (USER_HZ) /* like times() */
28 #endif
30 #ifndef HZ
31 #define HZ 100
32 #endif
34 #define EXEC_PAGESIZE 4096
36 #ifndef NGROUPS
37 #define NGROUPS 32
38 #endif
40 #ifndef NOGROUP
41 #define NOGROUP (-1)
42 #endif
44 #define MAXHOSTNAMELEN 64 /* max length of hostname */
46 #endif /* _ASM_PARAM_H */