2008-10-23 13:26:29 +08:00
|
|
|
#ifndef _ASM_X86_PARAM_H
|
|
|
|
#define _ASM_X86_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
|
|
|
|
|
|
|
|
#define EXEC_PAGESIZE 4096
|
|
|
|
|
|
|
|
#ifndef NOGROUP
|
|
|
|
#define NOGROUP (-1)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define MAXHOSTNAMELEN 64 /* max length of hostname */
|
|
|
|
|
2008-10-23 13:26:29 +08:00
|
|
|
#endif /* _ASM_X86_PARAM_H */
|