diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-15 07:57:47 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@inhelltoy.tec.linutronix.de> | 2007-10-17 14:17:10 -0400 |
commit | 003a46cfff308ee0d879dfa89b9a7c65b2a481bf (patch) | |
tree | 234552110912d4b9d6519474823e98e1a1726d16 /include/asm-x86/param.h | |
parent | 217d115cd5d7d2bef7db7839b93ce5dc2867c392 (diff) |
x86: unify some more trivial include/asm-x86/ 32/64 variants
Scripted unification.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
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 */ | ||