+- add patches.fixes/linux-post-2.6.3-20040220
[linux-flexiantxendom0-3.2.10.git] / include / asm-mips / param.h
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.
5  *
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
11
12 #ifdef __KERNEL__
13
14 #include <linux/config.h>
15
16 #ifdef CONFIG_DECSTATION
17    /*
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.
20     */
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
29
30 #ifndef HZ
31 #define HZ 100
32 #endif
33
34 #define EXEC_PAGESIZE   4096
35
36 #ifndef NOGROUP
37 #define NOGROUP         (-1)
38 #endif
39
40 #define MAXHOSTNAMELEN  64      /* max length of hostname */
41
42 #endif /* _ASM_PARAM_H */