diff options
Diffstat (limited to 'include/asm-x86/param.h')
-rw-r--r-- | include/asm-x86/param.h | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/include/asm-x86/param.h b/include/asm-x86/param.h index 640851bab124..c996ec4da0c8 100644 --- a/include/asm-x86/param.h +++ b/include/asm-x86/param.h | |||
@@ -1,13 +1,22 @@ | |||
1 | #ifndef _ASM_X86_PARAM_H | ||
2 | #define _ASM_X86_PARAM_H | ||
3 | |||
1 | #ifdef __KERNEL__ | 4 | #ifdef __KERNEL__ |
2 | # ifdef CONFIG_X86_32 | 5 | # define HZ CONFIG_HZ /* Internal kernel timer frequency */ |
3 | # include "param_32.h" | 6 | # define USER_HZ 100 /* .. some user interfaces are in "ticks" */ |
4 | # else | 7 | # define CLOCKS_PER_SEC (USER_HZ) /* like times() */ |
5 | # include "param_64.h" | ||
6 | # endif | ||
7 | #else | ||
8 | # ifdef __i386__ | ||
9 | # include "param_32.h" | ||
10 | # else | ||
11 | # include "param_64.h" | ||
12 | # endif | ||
13 | #endif | 8 | #endif |
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 | |||
22 | #endif /* _ASM_X86_PARAM_H */ | ||