2008-10-23 12:26:29 +07:00
|
|
|
#ifndef _ASM_X86_PARAM_H
|
|
|
|
#define _ASM_X86_PARAM_H
|
2007-10-15 18:57:47 +07:00
|
|
|
|
2007-10-11 16:20:03 +07:00
|
|
|
#ifdef __KERNEL__
|
2007-10-15 18:57:47 +07:00
|
|
|
# define HZ CONFIG_HZ /* Internal kernel timer frequency */
|
2008-03-23 15:02:59 +07:00
|
|
|
# define USER_HZ 100 /* some user interfaces are */
|
|
|
|
# define CLOCKS_PER_SEC (USER_HZ) /* in "ticks" like times() */
|
2007-10-11 16:20:03 +07:00
|
|
|
#endif
|
2007-10-15 18:57:47 +07: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 12:26:29 +07:00
|
|
|
#endif /* _ASM_X86_PARAM_H */
|