]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - include/asm-sh64/param.h
Consolidate of_get_parent
[karo-tx-linux.git] / include / asm-sh64 / 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  * include/asm-sh64/param.h
7  *
8  * Copyright (C) 2000, 2001  Paolo Alberelli
9  * Copyright (C) 2003  Paul Mundt
10  *
11  */
12 #ifndef __ASM_SH64_PARAM_H
13 #define __ASM_SH64_PARAM_H
14
15
16 #ifdef __KERNEL__
17 # ifdef CONFIG_SH_WDT
18 #  define HZ            1000            /* Needed for high-res WOVF */
19 # else
20 #  define HZ            100
21 # endif
22 # define USER_HZ        100             /* User interfaces are in "ticks" */
23 # define CLOCKS_PER_SEC (USER_HZ)       /* frequency at which times() counts */
24 #endif
25
26 #ifndef HZ
27 #define HZ 100
28 #endif
29
30 #define EXEC_PAGESIZE   4096
31
32 #ifndef NGROUPS
33 #define NGROUPS         32
34 #endif
35
36 #ifndef NOGROUP
37 #define NOGROUP         (-1)
38 #endif
39
40 #define MAXHOSTNAMELEN  64      /* max length of hostname */
41
42 #endif /* __ASM_SH64_PARAM_H */