1 /* SPDX-License-Identifier: GPL-2.0 */ !! 1 /* 2 #ifndef __ASM_GENERIC_PARAM_H !! 2 * This file is subject to the terms and conditions of the GNU General Public 3 #define __ASM_GENERIC_PARAM_H !! 3 * License. See the file "COPYING" in the main directory of this archive 4 !! 4 * for more details. 5 #include <uapi/asm-generic/param.h> !! 5 * 6 !! 6 * Copyright 1994 - 2000, 2002 Ralf Baechle (ralf@gnu.org) 7 # undef HZ !! 7 * Copyright 2000 Silicon Graphics, Inc. 8 # define HZ CONFIG_HZ /* Int !! 8 */ 9 # define USER_HZ 100 /* som !! 9 #ifndef _ASM_PARAM_H 10 # define CLOCKS_PER_SEC (USER_HZ) /* in !! 10 #define _ASM_PARAM_H 11 #endif /* __ASM_GENERIC_PARAM_H */ !! 11 >> 12 #ifdef __KERNEL__ >> 13 >> 14 #include <linux/config.h> >> 15 >> 16 #ifdef CONFIG_DECSTATION >> 17 /* >> 18 * log2(HZ), change this here if you want another HZ value. This is also >> 19 * used in dec_time_init. Minimum is 1, Maximum is 15. >> 20 */ >> 21 # define LOG_2_HZ 7 >> 22 # define HZ (1 << LOG_2_HZ) >> 23 #else >> 24 # define HZ 1000 /* Internal kernel timer frequency */ >> 25 #endif >> 26 # define USER_HZ 100 /* .. some user interfaces are in "ticks" */ >> 27 # define CLOCKS_PER_SEC (USER_HZ) /* like times() */ >> 28 #endif >> 29 >> 30 #ifndef HZ >> 31 #define HZ 100 >> 32 #endif >> 33 >> 34 #define EXEC_PAGESIZE 4096 >> 35 >> 36 #ifndef NGROUPS >> 37 #define NGROUPS 32 >> 38 #endif >> 39 >> 40 #ifndef NOGROUP >> 41 #define NOGROUP (-1) >> 42 #endif >> 43 >> 44 #define MAXHOSTNAMELEN 64 /* max length of hostname */ >> 45 >> 46 #endif /* _ASM_PARAM_H */ 12 47
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.