diff options
| author | Jesper Nilsson <jesper.nilsson@axis.com> | 2010-05-25 10:50:04 -0400 |
|---|---|---|
| committer | Jesper Nilsson <jesper.nilsson@axis.com> | 2010-05-25 10:50:04 -0400 |
| commit | 392ed655262446a7d9bc678394600a1d81614313 (patch) | |
| tree | 493aedd75f1cc061f2508e7a2a818c2101a6f29d | |
| parent | 6b9c88e2a3961346db1a23d967585af16ff33f05 (diff) | |
CRIS: Simplify param.h by simply including <asm-generic/param.h>
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
| -rw-r--r-- | arch/cris/include/asm/param.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/arch/cris/include/asm/param.h b/arch/cris/include/asm/param.h index 0e47994e40be..484fcf8667c0 100644 --- a/arch/cris/include/asm/param.h +++ b/arch/cris/include/asm/param.h | |||
| @@ -2,22 +2,9 @@ | |||
| 2 | #define _ASMCRIS_PARAM_H | 2 | #define _ASMCRIS_PARAM_H |
| 3 | 3 | ||
| 4 | /* Currently we assume that HZ=100 is good for CRIS. */ | 4 | /* Currently we assume that HZ=100 is good for CRIS. */ |
| 5 | #ifdef __KERNEL__ | ||
| 6 | # define HZ CONFIG_HZ /* Internal kernel timer frequency */ | ||
| 7 | # define USER_HZ 100 /* .. some user interfaces are in "ticks" */ | ||
| 8 | # define CLOCKS_PER_SEC (USER_HZ) /* like times() */ | ||
| 9 | #endif | ||
| 10 | |||
| 11 | #ifndef HZ | ||
| 12 | #define HZ 100 | ||
| 13 | #endif | ||
| 14 | 5 | ||
| 15 | #define EXEC_PAGESIZE 8192 | 6 | #define EXEC_PAGESIZE 8192 |
| 16 | 7 | ||
| 17 | #ifndef NOGROUP | 8 | #include <asm-generic/param.h> |
| 18 | #define NOGROUP (-1) | ||
| 19 | #endif | ||
| 20 | |||
| 21 | #define MAXHOSTNAMELEN 64 /* max length of hostname */ | ||
| 22 | 9 | ||
| 23 | #endif | 10 | #endif /* _ASMCRIS_PARAM_H */ |
