2009-06-19 03:48:17 +08:00
|
|
|
#ifndef __ASM_GENERIC_PARAM_H
|
|
|
|
#define __ASM_GENERIC_PARAM_H
|
2007-10-15 19:57:47 +08:00
|
|
|
|
2007-10-11 17:20:03 +08:00
|
|
|
#ifdef __KERNEL__
|
2007-10-15 19:57:47 +08:00
|
|
|
# define HZ CONFIG_HZ /* Internal kernel timer frequency */
|
2008-03-23 16:02:59 +08:00
|
|
|
# define USER_HZ 100 /* some user interfaces are */
|
|
|
|
# define CLOCKS_PER_SEC (USER_HZ) /* in "ticks" like times() */
|
2007-10-11 17:20:03 +08:00
|
|
|
#endif
|
2007-10-15 19:57:47 +08:00
|
|
|
|
|
|
|
#ifndef HZ
|
|
|
|
#define HZ 100
|
|
|
|
#endif
|
|
|
|
|
2009-06-19 03:48:17 +08:00
|
|
|
#ifndef EXEC_PAGESIZE
|
2007-10-15 19:57:47 +08:00
|
|
|
#define EXEC_PAGESIZE 4096
|
2009-06-19 03:48:17 +08:00
|
|
|
#endif
|
2007-10-15 19:57:47 +08:00
|
|
|
|
|
|
|
#ifndef NOGROUP
|
|
|
|
#define NOGROUP (-1)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define MAXHOSTNAMELEN 64 /* max length of hostname */
|
|
|
|
|
2009-06-19 03:48:17 +08:00
|
|
|
#endif /* __ASM_GENERIC_PARAM_H */
|