2005-09-08 04:59:48 +08:00
|
|
|
#ifndef _ASM_POWERPC_PARAM_H
|
|
|
|
#define _ASM_POWERPC_PARAM_H
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2005-09-04 06:55:47 +08:00
|
|
|
#include <linux/config.h>
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
#ifdef __KERNEL__
|
2005-09-08 04:59:48 +08:00
|
|
|
#define HZ CONFIG_HZ /* internal kernel timer frequency */
|
2005-04-17 06:20:36 +08:00
|
|
|
#define USER_HZ 100 /* for user interfaces in "ticks" */
|
|
|
|
#define CLOCKS_PER_SEC (USER_HZ) /* frequency at which times() counts */
|
|
|
|
#endif /* __KERNEL__ */
|
|
|
|
|
|
|
|
#ifndef HZ
|
|
|
|
#define HZ 100
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define EXEC_PAGESIZE 4096
|
|
|
|
|
|
|
|
#ifndef NOGROUP
|
|
|
|
#define NOGROUP (-1)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define MAXHOSTNAMELEN 64 /* max length of hostname */
|
|
|
|
|
2005-09-08 04:59:48 +08:00
|
|
|
#endif /* _ASM_POWERPC_PARAM_H */
|