diff options
author | David Howells <dhowells@redhat.com> | 2011-12-12 08:54:36 -0500 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2011-12-12 08:54:36 -0500 |
commit | b0b8c552e82f85475d160f8a2b61cd86cdcc0c32 (patch) | |
tree | b12eca9fabb1e57f61177f5c894c2af120330d6e /arch/mn10300 | |
parent | 267aed9dfeb2225960043f89db1f58d8ab522797 (diff) |
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/mn10300')
-rw-r--r-- | arch/mn10300/include/asm/param.h | 18 |
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 @@ | |||
11 | #ifndef _ASM_PARAM_H | 11 | #ifndef _ASM_PARAM_H |
12 | #define _ASM_PARAM_H | 12 | #define _ASM_PARAM_H |
13 | 13 | ||
14 | #ifdef __KERNEL__ | 14 | #include <asm-generic/param.h> |
15 | #define HZ CONFIG_HZ /* Internal kernel timer frequency */ | ||
16 | #define USER_HZ 100 /* .. some user interfaces are in | ||
17 | * "ticks" */ | ||
18 | #define CLOCKS_PER_SEC (USER_HZ) /* like times() */ | ||
19 | #endif | ||
20 | 15 | ||
21 | #ifndef HZ | ||
22 | #define HZ 100 | ||
23 | #endif | ||
24 | |||
25 | #define EXEC_PAGESIZE 4096 | ||
26 | |||
27 | #ifndef NOGROUP | ||
28 | #define NOGROUP (-1) | ||
29 | #endif | ||
30 | |||
31 | #define MAXHOSTNAMELEN 64 /* max length of hostname */ | ||
32 | #define COMMAND_LINE_SIZE 256 | 16 | #define COMMAND_LINE_SIZE 256 |
33 | 17 | ||
34 | #endif /* _ASM_PARAM_H */ | 18 | #endif /* _ASM_PARAM_H */ |