Arnd Bergmann | 6103ec5 | 2009-05-13 22:56:27 +0000 | [diff] [blame] | 1 | #ifndef __ASM_GENERIC_PARAM_H |
| 2 | #define __ASM_GENERIC_PARAM_H |
| 3 | |
Arnd Bergmann | 6103ec5 | 2009-05-13 22:56:27 +0000 | [diff] [blame] | 4 | #ifndef HZ |
| 5 | #define HZ 100 |
| 6 | #endif |
| 7 | |
| 8 | #ifndef EXEC_PAGESIZE |
| 9 | #define EXEC_PAGESIZE 4096 |
| 10 | #endif |
| 11 | |
| 12 | #ifndef NOGROUP |
| 13 | #define NOGROUP (-1) |
| 14 | #endif |
| 15 | |
| 16 | #define MAXHOSTNAMELEN 64 /* max length of hostname */ |
| 17 | |
David Howells | 3d7f1dc | 2011-12-13 09:26:45 +0000 | [diff] [blame] | 18 | #ifdef __KERNEL__ |
| 19 | # undef HZ |
| 20 | # define HZ CONFIG_HZ /* Internal kernel timer frequency */ |
| 21 | # define USER_HZ 100 /* some user interfaces are */ |
| 22 | # define CLOCKS_PER_SEC (USER_HZ) /* in "ticks" like times() */ |
| 23 | #endif |
| 24 | |
Arnd Bergmann | 6103ec5 | 2009-05-13 22:56:27 +0000 | [diff] [blame] | 25 | #endif /* __ASM_GENERIC_PARAM_H */ |