Loading...
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __ASM_GENERIC_PARAM_H
3#define __ASM_GENERIC_PARAM_H
4
5#include <uapi/asm-generic/param.h>
6
7# undef HZ
8# define HZ CONFIG_HZ /* Internal kernel timer frequency */
9# define USER_HZ 100 /* some user interfaces are */
10# define CLOCKS_PER_SEC (USER_HZ) /* in "ticks" like times() */
11#endif /* __ASM_GENERIC_PARAM_H */
1#ifndef __ASM_GENERIC_PARAM_H
2#define __ASM_GENERIC_PARAM_H
3
4#ifdef __KERNEL__
5# define HZ CONFIG_HZ /* Internal kernel timer frequency */
6# define USER_HZ 100 /* some user interfaces are */
7# define CLOCKS_PER_SEC (USER_HZ) /* in "ticks" like times() */
8#endif
9
10#ifndef HZ
11#define HZ 100
12#endif
13
14#ifndef EXEC_PAGESIZE
15#define EXEC_PAGESIZE 4096
16#endif
17
18#ifndef NOGROUP
19#define NOGROUP (-1)
20#endif
21
22#define MAXHOSTNAMELEN 64 /* max length of hostname */
23
24#endif /* __ASM_GENERIC_PARAM_H */