summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/param.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/param.h')
-rw-r--r--include/asm-x86/param.h31
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 @@
+#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 */
OpenPOWER on IntegriCloud