diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-15 13:57:47 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@inhelltoy.tec.linutronix.de> | 2007-10-17 20:17:10 +0200 |
commit | 003a46cfff308ee0d879dfa89b9a7c65b2a481bf (patch) | |
tree | 234552110912d4b9d6519474823e98e1a1726d16 /include/asm-x86/param.h | |
parent | 217d115cd5d7d2bef7db7839b93ce5dc2867c392 (diff) | |
download | op-kernel-dev-003a46cfff308ee0d879dfa89b9a7c65b2a481bf.zip op-kernel-dev-003a46cfff308ee0d879dfa89b9a7c65b2a481bf.tar.gz |
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 640851b..c996ec4 100644 --- a/include/asm-x86/param.h +++ b/include/asm-x86/param.h @@ -1,13 +1,22 @@ +#ifndef _ASM_X86_PARAM_H +#define _ASM_X86_PARAM_H + #ifdef __KERNEL__ -# ifdef CONFIG_X86_32 -# include "param_32.h" -# else -# include "param_64.h" -# endif -#else -# ifdef __i386__ -# include "param_32.h" -# else -# include "param_64.h" -# endif +# define HZ CONFIG_HZ /* Internal kernel timer frequency */ +# define USER_HZ 100 /* .. some user interfaces are in "ticks" */ +# define CLOCKS_PER_SEC (USER_HZ) /* like times() */ #endif + +#ifndef HZ +#define HZ 100 +#endif + +#define EXEC_PAGESIZE 4096 + +#ifndef NOGROUP +#define NOGROUP (-1) +#endif + +#define MAXHOSTNAMELEN 64 /* max length of hostname */ + +#endif /* _ASM_X86_PARAM_H */ |