MIPS: Simplify param.h by using <asm-generic/param.h>
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> To: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/810/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
committed by
Ralf Baechle
parent
32fd6901a6
commit
d38760ccdf
@@ -9,23 +9,8 @@
|
|||||||
#ifndef _ASM_PARAM_H
|
#ifndef _ASM_PARAM_H
|
||||||
#define _ASM_PARAM_H
|
#define _ASM_PARAM_H
|
||||||
|
|
||||||
#ifdef __KERNEL__
|
|
||||||
|
|
||||||
# define HZ CONFIG_HZ /* Internal kernel timer frequency */
|
|
||||||
# define USER_HZ 100 /* .. some user interfaces are in "ticks" */
|
|
||||||
# define CLOCKS_PER_SEC (USER_HZ) /* like times() */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef HZ
|
|
||||||
#define HZ 100
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define EXEC_PAGESIZE 65536
|
#define EXEC_PAGESIZE 65536
|
||||||
|
|
||||||
#ifndef NOGROUP
|
#include <asm-generic/param.h>
|
||||||
#define NOGROUP (-1)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define MAXHOSTNAMELEN 64 /* max length of hostname */
|
|
||||||
|
|
||||||
#endif /* _ASM_PARAM_H */
|
#endif /* _ASM_PARAM_H */
|
||||||
|
Reference in New Issue
Block a user