Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ASM_ALPHA_PARAM_H |
| 2 | #define _ASM_ALPHA_PARAM_H |
| 3 | |
| 4 | /* ??? Gross. I don't want to parameterize this, and supposedly the |
| 5 | hardware ignores reprogramming. We also need userland buy-in to the |
| 6 | change in HZ, since this is visible in the wait4 resources etc. */ |
| 7 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | |
| 9 | #ifndef HZ |
| 10 | # ifndef CONFIG_ALPHA_RAWHIDE |
| 11 | # define HZ 1024 |
| 12 | # else |
| 13 | # define HZ 1200 |
| 14 | # endif |
| 15 | #endif |
| 16 | |
| 17 | #define USER_HZ HZ |
| 18 | |
| 19 | #define EXEC_PAGESIZE 8192 |
| 20 | |
| 21 | #ifndef NOGROUP |
| 22 | #define NOGROUP (-1) |
| 23 | #endif |
| 24 | |
| 25 | #define MAXHOSTNAMELEN 64 /* max length of hostname */ |
| 26 | |
| 27 | #ifdef __KERNEL__ |
| 28 | # define CLOCKS_PER_SEC HZ /* frequency at which times() counts */ |
| 29 | #endif |
| 30 | |
| 31 | #endif /* _ASM_ALPHA_PARAM_H */ |