1 /* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * include/asm-sh64/param.h 7 * 8 * Copyright (C) 2000, 2001 Paolo Alberelli 9 * Copyright (C) 2003 Paul Mundt 10 * 11 */ 12 #ifndef __ASM_SH_PARAM_H 13 #define __ASM_SH_PARAM_H 14 15 #include <linux/config.h> 16 17 #ifdef __KERNEL__ 18 # ifdef CONFIG_SH_WDT 19 # define HZ 1000 /* Needed for high-res WOVF */ 20 # else 21 # define HZ 100 22 # endif 23 # define USER_HZ 100 /* User interfaces are in "ticks" */ 24 # define CLOCKS_PER_SEC (USER_HZ) /* frequency at which times() counts */ 25 #endif 26 27 #ifndef HZ 28 #define HZ 100 29 #endif 30 31 #define EXEC_PAGESIZE 4096 32 33 #ifndef NGROUPS 34 #define NGROUPS 32 35 #endif 36 37 #ifndef NOGROUP 38 #define NOGROUP (-1) 39 #endif 40 41 #define MAXHOSTNAMELEN 64 /* max length of hostname */ 42 43 #endif /* __ASM_SH_PARAM_H */ 44