Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ASMCRIS_PARAM_H |
| 2 | #define _ASMCRIS_PARAM_H |
| 3 | |
| 4 | /* Currently we assume that HZ=100 is good for CRIS. */ |
| 5 | #ifdef __KERNEL__ |
H. Peter Anvin | bdc8078 | 2008-02-08 04:21:26 -0800 | [diff] [blame] | 6 | # define HZ CONFIG_HZ /* Internal kernel timer frequency */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | # define USER_HZ 100 /* .. some user interfaces are in "ticks" */ |
| 8 | # define CLOCKS_PER_SEC (USER_HZ) /* like times() */ |
| 9 | #endif |
| 10 | |
| 11 | #ifndef HZ |
| 12 | #define HZ 100 |
| 13 | #endif |
| 14 | |
| 15 | #define EXEC_PAGESIZE 8192 |
| 16 | |
| 17 | #ifndef NOGROUP |
| 18 | #define NOGROUP (-1) |
| 19 | #endif |
| 20 | |
| 21 | #define MAXHOSTNAMELEN 64 /* max length of hostname */ |
| 22 | |
| 23 | #endif |