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 | |
Mike Frysinger | b7cffc1 | 2008-05-14 16:05:42 -0700 | [diff] [blame] | 8 | #ifdef __KERNEL__ |
H. Peter Anvin | bdc8078 | 2008-02-08 04:21:26 -0800 | [diff] [blame] | 9 | #define HZ CONFIG_HZ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | #define USER_HZ HZ |
Mike Frysinger | b7cffc1 | 2008-05-14 16:05:42 -0700 | [diff] [blame] | 11 | #else |
| 12 | #define HZ 1024 |
| 13 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | #ifdef __KERNEL__ |
| 24 | # define CLOCKS_PER_SEC HZ /* frequency at which times() counts */ |
| 25 | #endif |
| 26 | |
| 27 | #endif /* _ASM_ALPHA_PARAM_H */ |