mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-30 14:34:51 +08:00
62c4f0a2d5
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
43 lines
857 B
C
43 lines
857 B
C
/*
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
* for more details.
|
|
*
|
|
* include/asm-sh64/param.h
|
|
*
|
|
* Copyright (C) 2000, 2001 Paolo Alberelli
|
|
* Copyright (C) 2003 Paul Mundt
|
|
*
|
|
*/
|
|
#ifndef __ASM_SH64_PARAM_H
|
|
#define __ASM_SH64_PARAM_H
|
|
|
|
|
|
#ifdef __KERNEL__
|
|
# ifdef CONFIG_SH_WDT
|
|
# define HZ 1000 /* Needed for high-res WOVF */
|
|
# else
|
|
# define HZ 100
|
|
# endif
|
|
# define USER_HZ 100 /* User interfaces are in "ticks" */
|
|
# define CLOCKS_PER_SEC (USER_HZ) /* frequency at which times() counts */
|
|
#endif
|
|
|
|
#ifndef HZ
|
|
#define HZ 100
|
|
#endif
|
|
|
|
#define EXEC_PAGESIZE 4096
|
|
|
|
#ifndef NGROUPS
|
|
#define NGROUPS 32
|
|
#endif
|
|
|
|
#ifndef NOGROUP
|
|
#define NOGROUP (-1)
|
|
#endif
|
|
|
|
#define MAXHOSTNAMELEN 64 /* max length of hostname */
|
|
|
|
#endif /* __ASM_SH64_PARAM_H */
|