2009-05-14 06:56:27 +08:00
|
|
|
#ifndef __ASM_GENERIC_PARAM_H
|
|
|
|
#define __ASM_GENERIC_PARAM_H
|
|
|
|
|
|
|
|
#ifndef HZ
|
|
|
|
#define HZ 100
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EXEC_PAGESIZE
|
|
|
|
#define EXEC_PAGESIZE 4096
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef NOGROUP
|
|
|
|
#define NOGROUP (-1)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define MAXHOSTNAMELEN 64 /* max length of hostname */
|
|
|
|
|
2011-12-13 17:26:45 +08:00
|
|
|
#ifdef __KERNEL__
|
|
|
|
# undef HZ
|
|
|
|
# define HZ CONFIG_HZ /* Internal kernel timer frequency */
|
|
|
|
# define USER_HZ 100 /* some user interfaces are */
|
|
|
|
# define CLOCKS_PER_SEC (USER_HZ) /* in "ticks" like times() */
|
|
|
|
#endif
|
|
|
|
|
2009-05-14 06:56:27 +08:00
|
|
|
#endif /* __ASM_GENERIC_PARAM_H */
|