diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2009-12-31 05:45:50 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-02-03 01:39:48 -0500 |
commit | 4ba525d134a882e6994bf8f5bd93fd020376588c (patch) | |
tree | 6fa3632b3ad502051c05807259a9a05016976de4 /arch/powerpc/include/asm/param.h | |
parent | dc942cee2fcb734d6f3ef7966040e4e034b67d5b (diff) |
powerpc: Simplify param.h by including <asm-generic/param.h>
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/param.h')
-rw-r--r-- | arch/powerpc/include/asm/param.h | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/arch/powerpc/include/asm/param.h b/arch/powerpc/include/asm/param.h index 094f63d4d5ca..965d45427975 100644 --- a/arch/powerpc/include/asm/param.h +++ b/arch/powerpc/include/asm/param.h | |||
@@ -1,22 +1 @@ | |||
1 | #ifndef _ASM_POWERPC_PARAM_H | #include <asm-generic/param.h> | |
2 | #define _ASM_POWERPC_PARAM_H | ||
3 | |||
4 | #ifdef __KERNEL__ | ||
5 | #define HZ CONFIG_HZ /* internal kernel timer frequency */ | ||
6 | #define USER_HZ 100 /* for user interfaces in "ticks" */ | ||
7 | #define CLOCKS_PER_SEC (USER_HZ) /* frequency at which times() counts */ | ||
8 | #endif /* __KERNEL__ */ | ||
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 | |||
22 | #endif /* _ASM_POWERPC_PARAM_H */ | ||