blob: 835632a3b468f3c69432db1ea8729ed7dbf13e01 [file] [log] [blame]
Arnd Bergmann6103ec52009-05-13 22:56:27 +00001#ifndef __ASM_GENERIC_PARAM_H
2#define __ASM_GENERIC_PARAM_H
3
Arnd Bergmann6103ec52009-05-13 22:56:27 +00004#ifndef HZ
5#define HZ 100
6#endif
7
8#ifndef EXEC_PAGESIZE
9#define EXEC_PAGESIZE 4096
10#endif
11
12#ifndef NOGROUP
13#define NOGROUP (-1)
14#endif
15
16#define MAXHOSTNAMELEN 64 /* max length of hostname */
17
David Howells3d7f1dc2011-12-13 09:26:45 +000018#ifdef __KERNEL__
19# undef HZ
20# define HZ CONFIG_HZ /* Internal kernel timer frequency */
21# define USER_HZ 100 /* some user interfaces are */
22# define CLOCKS_PER_SEC (USER_HZ) /* in "ticks" like times() */
23#endif
24
Arnd Bergmann6103ec52009-05-13 22:56:27 +000025#endif /* __ASM_GENERIC_PARAM_H */