]>
Commit | Line | Data |
---|---|---|
9a8fd558 CZ |
1 | /* |
2 | * include/asm-xtensa/param.h | |
3 | * | |
4 | * This file is subject to the terms and conditions of the GNU General Public | |
5 | * License. See the file "COPYING" in the main directory of this archive | |
6 | * for more details. | |
7 | * | |
8 | * Copyright (C) 2001 - 2005 Tensilica Inc. | |
9 | */ | |
10 | ||
11 | #ifndef _XTENSA_PARAM_H | |
12 | #define _XTENSA_PARAM_H | |
13 | ||
9a8fd558 | 14 | #ifdef __KERNEL__ |
bdc80787 | 15 | # define HZ CONFIG_HZ /* internal timer frequency */ |
9a8fd558 CZ |
16 | # define USER_HZ 100 /* for user interfaces in "ticks" */ |
17 | # define CLOCKS_PER_SEC (USER_HZ) /* frequnzy at which times() counts */ | |
b7cffc1f MF |
18 | #else |
19 | # define HZ 100 | |
9a8fd558 CZ |
20 | #endif |
21 | ||
de4f6e5b | 22 | #define EXEC_PAGESIZE 4096 |
9a8fd558 CZ |
23 | |
24 | #ifndef NGROUPS | |
25 | #define NGROUPS 32 | |
26 | #endif | |
27 | ||
28 | #ifndef NOGROUP | |
29 | #define NOGROUP (-1) | |
30 | #endif | |
31 | ||
32 | #define MAXHOSTNAMELEN 64 /* max length of hostname */ | |
33 | ||
34 | #endif /* _XTENSA_PARAM_H */ |