diff options
| author | Robert P. J. Day <rpjday@crashcourse.ca> | 2009-12-31 15:35:44 -0500 |
|---|---|---|
| committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2010-05-17 15:15:39 -0400 |
| commit | 291d7e9553fef2e18825b1ef1345fbd316dff98f (patch) | |
| tree | ef93033c432a92a941f8b4191b3fe2063c65549f | |
| parent | b1f3bb494e8acddeb972331c2ac642b3c7bceeb9 (diff) | |
m68k: Simplify param.h by using <asm-generic/param.h>
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
| -rw-r--r-- | arch/m68k/include/asm/param.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/arch/m68k/include/asm/param.h b/arch/m68k/include/asm/param.h index 85c41b75aa78..36265ccf5c7b 100644 --- a/arch/m68k/include/asm/param.h +++ b/arch/m68k/include/asm/param.h | |||
| @@ -1,26 +1,12 @@ | |||
| 1 | #ifndef _M68K_PARAM_H | 1 | #ifndef _M68K_PARAM_H |
| 2 | #define _M68K_PARAM_H | 2 | #define _M68K_PARAM_H |
| 3 | 3 | ||
| 4 | #ifdef __KERNEL__ | ||
| 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 | #ifdef __uClinux__ | 4 | #ifdef __uClinux__ |
| 15 | #define EXEC_PAGESIZE 4096 | 5 | #define EXEC_PAGESIZE 4096 |
| 16 | #else | 6 | #else |
| 17 | #define EXEC_PAGESIZE 8192 | 7 | #define EXEC_PAGESIZE 8192 |
| 18 | #endif | 8 | #endif |
| 19 | 9 | ||
| 20 | #ifndef NOGROUP | 10 | #include <asm-generic/param.h> |
| 21 | #define NOGROUP (-1) | ||
| 22 | #endif | ||
| 23 | |||
| 24 | #define MAXHOSTNAMELEN 64 /* max length of hostname */ | ||
| 25 | 11 | ||
| 26 | #endif /* _M68K_PARAM_H */ | 12 | #endif /* _M68K_PARAM_H */ |
