Vegard Nossum | 77ef50a | 2008-06-18 17:08:48 +0200 | [diff] [blame] | 1 | #ifndef ASM_X86__PARAM_H |
| 2 | #define ASM_X86__PARAM_H |
Thomas Gleixner | 003a46c | 2007-10-15 13:57:47 +0200 | [diff] [blame] | 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 */ |
Joe Perches | fad5998 | 2008-03-23 01:02:59 -0700 | [diff] [blame] | 6 | # define USER_HZ 100 /* some user interfaces are */ |
| 7 | # define CLOCKS_PER_SEC (USER_HZ) /* in "ticks" 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 | |
Vegard Nossum | 77ef50a | 2008-06-18 17:08:48 +0200 | [diff] [blame] | 22 | #endif /* ASM_X86__PARAM_H */ |