aboutsummaryrefslogtreecommitdiff
path: root/arch/m68k/include/asm/param.h
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2009-03-16 17:52:16 +1000
committerGreg Ungerer <gerg@uclinux.org>2009-03-16 17:52:16 +1000
commitf9847004bf94ba5457738cb5e0f868821864ff50 (patch)
tree9dddb624c8e762581f0cf3727c611ff6810d63cd /arch/m68k/include/asm/param.h
parent5bee17f18b595937e6beafeee5197868a3f74a06 (diff)
m68k: merge the non-MMU and MMU versions of param.h
It is trivial to merge the non-MMU and MMU versions of param.h. Without a single file "make headers_install" is broken for m68k (since each of the sub-varients of param.h are not installed). Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/include/asm/param.h')
-rw-r--r--arch/m68k/include/asm/param.h25
1 files changed, 23 insertions, 2 deletions
diff --git a/arch/m68k/include/asm/param.h b/arch/m68k/include/asm/param.h
index 40d1112a458..85c41b75aa7 100644
--- a/arch/m68k/include/asm/param.h
+++ b/arch/m68k/include/asm/param.h
@@ -1,5 +1,26 @@
+#ifndef _M68K_PARAM_H
+#define _M68K_PARAM_H
+
+#ifdef __KERNEL__
+# 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
+
#ifdef __uClinux__
-#include "param_no.h"
+#define EXEC_PAGESIZE 4096
#else
-#include "param_mm.h"
+#define EXEC_PAGESIZE 8192
+#endif
+
+#ifndef NOGROUP
+#define NOGROUP (-1)
#endif
+
+#define MAXHOSTNAMELEN 64 /* max length of hostname */
+
+#endif /* _M68K_PARAM_H */