blob: cdf8251bfb6cfc33d559a358ed0fe17d1de9c2d6 [file] [log] [blame]
Arnd Bergmann7bfd1242009-06-18 21:48:17 +02001#ifndef __ASM_GENERIC_PARAM_H
2#define __ASM_GENERIC_PARAM_H
Thomas Gleixner003a46c2007-10-15 13:57:47 +02003
Thomas Gleixner96a388d2007-10-11 11:20:03 +02004#ifdef __KERNEL__
Thomas Gleixner003a46c2007-10-15 13:57:47 +02005# define HZ CONFIG_HZ /* Internal kernel timer frequency */
Joe Perchesfad59982008-03-23 01:02:59 -07006# define USER_HZ 100 /* some user interfaces are */
7# define CLOCKS_PER_SEC (USER_HZ) /* in "ticks" like times() */
Thomas Gleixner96a388d2007-10-11 11:20:03 +02008#endif
Thomas Gleixner003a46c2007-10-15 13:57:47 +02009
10#ifndef HZ
11#define HZ 100
12#endif
13
Arnd Bergmann7bfd1242009-06-18 21:48:17 +020014#ifndef EXEC_PAGESIZE
Thomas Gleixner003a46c2007-10-15 13:57:47 +020015#define EXEC_PAGESIZE 4096
Arnd Bergmann7bfd1242009-06-18 21:48:17 +020016#endif
Thomas Gleixner003a46c2007-10-15 13:57:47 +020017
18#ifndef NOGROUP
19#define NOGROUP (-1)
20#endif
21
22#define MAXHOSTNAMELEN 64 /* max length of hostname */
23
Arnd Bergmann7bfd1242009-06-18 21:48:17 +020024#endif /* __ASM_GENERIC_PARAM_H */