Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _UM_PARAM_H |
| 2 | #define _UM_PARAM_H |
| 3 | |
| 4 | #define EXEC_PAGESIZE 4096 |
| 5 | |
| 6 | #ifndef NOGROUP |
| 7 | #define NOGROUP (-1) |
| 8 | #endif |
| 9 | |
| 10 | #define MAXHOSTNAMELEN 64 /* max length of hostname */ |
| 11 | |
| 12 | #ifdef __KERNEL__ |
Jeff Dike | 7281ff9 | 2008-02-04 22:31:19 -0800 | [diff] [blame] | 13 | #define HZ CONFIG_HZ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | #define USER_HZ 100 /* .. some user interfaces are in "ticks" */ |
| 15 | #define CLOCKS_PER_SEC (USER_HZ) /* frequency at which times() counts */ |
Mike Frysinger | b7cffc1 | 2008-05-14 16:05:42 -0700 | [diff] [blame] | 16 | #else |
| 17 | #define HZ 100 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | #endif |
| 19 | |
| 20 | #endif |