Chris Zankel | 9a8fd55 | 2005-06-23 22:01:26 -0700 | [diff] [blame] | 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 | |
Chris Zankel | 9a8fd55 | 2005-06-23 22:01:26 -0700 | [diff] [blame] | 14 | #ifdef __KERNEL__ |
H. Peter Anvin | bdc8078 | 2008-02-08 04:21:26 -0800 | [diff] [blame] | 15 | # define HZ CONFIG_HZ /* internal timer frequency */ |
Chris Zankel | 9a8fd55 | 2005-06-23 22:01:26 -0700 | [diff] [blame] | 16 | # define USER_HZ 100 /* for user interfaces in "ticks" */ |
| 17 | # define CLOCKS_PER_SEC (USER_HZ) /* frequnzy at which times() counts */ |
| 18 | #endif |
| 19 | |
Chris Zankel | de4f6e5 | 2007-05-31 17:47:01 -0700 | [diff] [blame] | 20 | #define EXEC_PAGESIZE 4096 |
Chris Zankel | 9a8fd55 | 2005-06-23 22:01:26 -0700 | [diff] [blame] | 21 | |
| 22 | #ifndef NGROUPS |
| 23 | #define NGROUPS 32 |
| 24 | #endif |
| 25 | |
| 26 | #ifndef NOGROUP |
| 27 | #define NOGROUP (-1) |
| 28 | #endif |
| 29 | |
| 30 | #define MAXHOSTNAMELEN 64 /* max length of hostname */ |
| 31 | |
| 32 | #endif /* _XTENSA_PARAM_H */ |