summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2011-12-12 14:54:36 +0100
committerDavid Howells <dhowells@redhat.com>2011-12-12 14:54:36 +0100
commitb0b8c552e82f85475d160f8a2b61cd86cdcc0c32 (patch)
treeb12eca9fabb1e57f61177f5c894c2af120330d6e /arch
parentUAPI: elf_read_implies_exec() is a kernel-only feature - so hide from userspace (diff)
downloadlinux-b0b8c552e82f85475d160f8a2b61cd86cdcc0c32.tar.xz
linux-b0b8c552e82f85475d160f8a2b61cd86cdcc0c32.zip
UAPI: Make MN10300 use asm-generic/param.h
Make MN10300 use the generic settings to be found in asm-generic/param.h rather than defining its own as they're exactly the same. This sorts out a problem with HZ being redefined after the UAPI split. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/mn10300/include/asm/param.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/arch/mn10300/include/asm/param.h b/arch/mn10300/include/asm/param.h
index 789b1df41fcb..02a0ca6f13ce 100644
--- a/arch/mn10300/include/asm/param.h
+++ b/arch/mn10300/include/asm/param.h
@@ -11,24 +11,8 @@
#ifndef _ASM_PARAM_H
#define _ASM_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
+#include <asm-generic/param.h>
-#ifndef HZ
-#define HZ 100
-#endif
-
-#define EXEC_PAGESIZE 4096
-
-#ifndef NOGROUP
-#define NOGROUP (-1)
-#endif
-
-#define MAXHOSTNAMELEN 64 /* max length of hostname */
#define COMMAND_LINE_SIZE 256
#endif /* _ASM_PARAM_H */