Merge branch 'x86-fpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[firefly-linux-kernel-4.4.55.git] / include / asm-generic / param.h
1 #ifndef __ASM_GENERIC_PARAM_H
2 #define __ASM_GENERIC_PARAM_H
3
4 #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
18 #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
25 #endif /* __ASM_GENERIC_PARAM_H */