Thomas Gleixner | 003a46c | 2007-10-15 13:57:47 +0200 | [diff] [blame] | 1 | #ifndef _ASM_X86_PARAM_H |
| 2 | #define _ASM_X86_PARAM_H |
| 3 | |
Thomas Gleixner | 96a388d | 2007-10-11 11:20:03 +0200 | [diff] [blame] | 4 | #ifdef __KERNEL__ |
Thomas Gleixner | 003a46c | 2007-10-15 13:57:47 +0200 | [diff] [blame] | 5 | # define HZ CONFIG_HZ /* Internal kernel timer frequency */ |
| 6 | # define USER_HZ 100 /* .. some user interfaces are in "ticks" */ |
| 7 | # define CLOCKS_PER_SEC (USER_HZ) /* like times() */ |
Thomas Gleixner | 96a388d | 2007-10-11 11:20:03 +0200 | [diff] [blame] | 8 | #endif |
Thomas Gleixner | 003a46c | 2007-10-15 13:57:47 +0200 | [diff] [blame] | 9 | |
| 10 | #ifndef HZ |
| 11 | #define HZ 100 |
| 12 | #endif |
| 13 | |
| 14 | #define EXEC_PAGESIZE 4096 |
| 15 | |
| 16 | #ifndef NOGROUP |
| 17 | #define NOGROUP (-1) |
| 18 | #endif |
| 19 | |
| 20 | #define MAXHOSTNAMELEN 64 /* max length of hostname */ |
| 21 | |
| 22 | #endif /* _ASM_X86_PARAM_H */ |