diff options
Diffstat (limited to 'arch/ia64/include/asm/param.h')
-rw-r--r-- | arch/ia64/include/asm/param.h | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/arch/ia64/include/asm/param.h b/arch/ia64/include/asm/param.h index 0964c32c1358..1295913d6a82 100644 --- a/arch/ia64/include/asm/param.h +++ b/arch/ia64/include/asm/param.h | |||
@@ -1,6 +1,3 @@ | |||
1 | #ifndef _ASM_IA64_PARAM_H | ||
2 | #define _ASM_IA64_PARAM_H | ||
3 | |||
4 | /* | 1 | /* |
5 | * Fundamental kernel parameters. | 2 | * Fundamental kernel parameters. |
6 | * | 3 | * |
@@ -9,25 +6,12 @@ | |||
9 | * Modified 1998, 1999, 2002-2003 | 6 | * Modified 1998, 1999, 2002-2003 |
10 | * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co | 7 | * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co |
11 | */ | 8 | */ |
9 | #ifndef _ASM_IA64_PARAM_H | ||
10 | #define _ASM_IA64_PARAM_H | ||
12 | 11 | ||
13 | #define EXEC_PAGESIZE 65536 | 12 | #include <uapi/asm/param.h> |
14 | |||
15 | #ifndef NOGROUP | ||
16 | # define NOGROUP (-1) | ||
17 | #endif | ||
18 | |||
19 | #define MAXHOSTNAMELEN 64 /* max length of hostname */ | ||
20 | 13 | ||
21 | #ifdef __KERNEL__ | ||
22 | # define HZ CONFIG_HZ | 14 | # define HZ CONFIG_HZ |
23 | # define USER_HZ HZ | 15 | # define USER_HZ HZ |
24 | # define CLOCKS_PER_SEC HZ /* frequency at which times() counts */ | 16 | # define CLOCKS_PER_SEC HZ /* frequency at which times() counts */ |
25 | #else | ||
26 | /* | ||
27 | * Technically, this is wrong, but some old apps still refer to it. The proper way to | ||
28 | * get the HZ value is via sysconf(_SC_CLK_TCK). | ||
29 | */ | ||
30 | # define HZ 1024 | ||
31 | #endif | ||
32 | |||
33 | #endif /* _ASM_IA64_PARAM_H */ | 17 | #endif /* _ASM_IA64_PARAM_H */ |