2005-04-17 02:20:36 +04:00
|
|
|
#ifndef _UM_PARAM_H
|
|
|
|
#define _UM_PARAM_H
|
|
|
|
|
|
|
|
#define EXEC_PAGESIZE 4096
|
|
|
|
|
|
|
|
#ifndef NOGROUP
|
|
|
|
#define NOGROUP (-1)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define MAXHOSTNAMELEN 64 /* max length of hostname */
|
|
|
|
|
|
|
|
#ifdef __KERNEL__
|
2008-02-05 09:31:19 +03:00
|
|
|
#define HZ CONFIG_HZ
|
2005-04-17 02:20:36 +04:00
|
|
|
#define USER_HZ 100 /* .. some user interfaces are in "ticks" */
|
|
|
|
#define CLOCKS_PER_SEC (USER_HZ) /* frequency at which times() counts */
|
2008-05-15 03:05:42 +04:00
|
|
|
#else
|
|
|
|
#define HZ 100
|
2005-04-17 02:20:36 +04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|