Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ASM_IA64_PARAM_H |
| 2 | #define _ASM_IA64_PARAM_H |
| 3 | |
| 4 | /* |
| 5 | * Fundamental kernel parameters. |
| 6 | * |
| 7 | * Based on <asm-i386/param.h>. |
| 8 | * |
| 9 | * Modified 1998, 1999, 2002-2003 |
| 10 | * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co |
| 11 | */ |
| 12 | |
| 13 | #define EXEC_PAGESIZE 65536 |
| 14 | |
| 15 | #ifndef NOGROUP |
| 16 | # define NOGROUP (-1) |
| 17 | #endif |
| 18 | |
| 19 | #define MAXHOSTNAMELEN 64 /* max length of hostname */ |
| 20 | |
| 21 | #ifdef __KERNEL__ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | # ifdef CONFIG_IA64_HP_SIM |
| 23 | /* |
| 24 | * Yeah, simulating stuff is slow, so let us catch some breath between |
| 25 | * timer interrupts... |
| 26 | */ |
| 27 | # define HZ 32 |
| 28 | # else |
Christoph Lameter | b5d23e5 | 2005-06-23 00:08:27 -0700 | [diff] [blame] | 29 | # define HZ CONFIG_HZ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | # endif |
| 31 | # define USER_HZ HZ |
| 32 | # define CLOCKS_PER_SEC HZ /* frequency at which times() counts */ |
| 33 | #else |
| 34 | /* |
| 35 | * Technically, this is wrong, but some old apps still refer to it. The proper way to |
| 36 | * get the HZ value is via sysconf(_SC_CLK_TCK). |
| 37 | */ |
| 38 | # define HZ 1024 |
| 39 | #endif |
| 40 | |
| 41 | #endif /* _ASM_IA64_PARAM_H */ |