Linux 2.6.20.13
[linux/fpc-iii.git] / include / asm-xtensa / param.h
blob6f281392e3f854fc0589b104f9d188f3c4210e3a
1 /*
2 * include/asm-xtensa/param.h
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.
8 * Copyright (C) 2001 - 2005 Tensilica Inc.
9 */
11 #ifndef _XTENSA_PARAM_H
12 #define _XTENSA_PARAM_H
14 #include <asm/variant/core.h>
16 #ifdef __KERNEL__
17 # define HZ 100 /* internal timer frequency */
18 # define USER_HZ 100 /* for user interfaces in "ticks" */
19 # define CLOCKS_PER_SEC (USER_HZ) /* frequnzy at which times() counts */
20 #endif
22 #define EXEC_PAGESIZE (1 << XCHAL_MMU_MIN_PTE_PAGE_SIZE)
24 #ifndef NGROUPS
25 #define NGROUPS 32
26 #endif
28 #ifndef NOGROUP
29 #define NOGROUP (-1)
30 #endif
32 #define MAXHOSTNAMELEN 64 /* max length of hostname */
34 #endif /* _XTENSA_PARAM_H */