diff options
author | David Howells <dhowells@redhat.com> | 2011-12-12 08:56:03 -0500 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2011-12-12 08:56:03 -0500 |
commit | d507462c63c7423ae9b9378ed049909a646d28f7 (patch) | |
tree | 6062ebc330376a1e5f6f1543df609af913e1717f /arch/m32r/include/asm | |
parent | b0b8c552e82f85475d160f8a2b61cd86cdcc0c32 (diff) |
UAPI: Make M32R use asm-generic/param.h
Make M32R 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 splitting of
userspace headers from kernel headers.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Hirokazu Takata <takata@linux-m32r.org>
cc: linux-m32r@ml.linux-m32r.org
Diffstat (limited to 'arch/m32r/include/asm')
-rw-r--r-- | arch/m32r/include/asm/param.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/arch/m32r/include/asm/param.h b/arch/m32r/include/asm/param.h index 94c770196048..fa207bdf96e7 100644 --- a/arch/m32r/include/asm/param.h +++ b/arch/m32r/include/asm/param.h | |||
@@ -1,23 +1,7 @@ | |||
1 | #ifndef _ASM_M32R_PARAM_H | 1 | #ifndef _ASM_M32R_PARAM_H |
2 | #define _ASM_M32R_PARAM_H | 2 | #define _ASM_M32R_PARAM_H |
3 | 3 | ||
4 | #ifdef __KERNEL__ | 4 | #include <asm-generic/param.h> |
5 | # define HZ CONFIG_HZ /* Internal kernel timer frequency */ | ||
6 | # define USER_HZ 100 /* .. some user interfaces are in "ticks" */ | ||
7 | # define CLOCKS_PER_SEC (USER_HZ) /* like times() */ | ||
8 | #endif | ||
9 | |||
10 | #ifndef HZ | ||
11 | #define HZ 100 | ||
12 | #endif | ||
13 | |||
14 | #define EXEC_PAGESIZE 4096 | ||
15 | |||
16 | #ifndef NOGROUP | ||
17 | #define NOGROUP (-1) | ||
18 | #endif | ||
19 | |||
20 | #define MAXHOSTNAMELEN 64 /* max length of hostname */ | ||
21 | 5 | ||
22 | #endif /* _ASM_M32R_PARAM_H */ | 6 | #endif /* _ASM_M32R_PARAM_H */ |
23 | 7 | ||