Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __ASM_SH_PARAM_H |
| 2 | #define __ASM_SH_PARAM_H |
| 3 | |
| 4 | #ifdef __KERNEL__ |
| 5 | # ifdef CONFIG_SH_WDT |
| 6 | # define HZ 1000 /* Needed for high-res WOVF */ |
| 7 | # else |
| 8 | # define HZ 100 |
| 9 | # endif |
| 10 | # define USER_HZ 100 /* User interfaces are in "ticks" */ |
| 11 | # define CLOCKS_PER_SEC (USER_HZ) /* frequency at which times() counts */ |
| 12 | #endif |
| 13 | |
| 14 | #ifndef HZ |
| 15 | #define HZ 100 |
| 16 | #endif |
| 17 | |
| 18 | #define EXEC_PAGESIZE 4096 |
| 19 | |
| 20 | #ifndef NOGROUP |
| 21 | #define NOGROUP (-1) |
| 22 | #endif |
| 23 | |
| 24 | #define MAXHOSTNAMELEN 64 /* max length of hostname */ |
| 25 | |
| 26 | #endif /* __ASM_SH_PARAM_H */ |