mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-30 05:15:03 +00:00
1723b4a34a
Make HZ configurable. DECSTATION can select 128/256/1024 HZ, JAZZ can only select 100 HZ, others can select 100/128/250/256/1000/1024 HZ if not explicitly specified). Also remove all mach-xxx/param.h files and update all defconfigs according to current HZ value. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
32 lines
725 B
C
32 lines
725 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.
|
|
*
|
|
* Copyright 1994 - 2000, 2002 Ralf Baechle (ralf@gnu.org)
|
|
* Copyright 2000 Silicon Graphics, Inc.
|
|
*/
|
|
#ifndef _ASM_PARAM_H
|
|
#define _ASM_PARAM_H
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
# define HZ CONFIG_HZ /* Internal kernel timer frequency */
|
|
# define USER_HZ 100 /* .. some user interfaces are in "ticks" */
|
|
# define CLOCKS_PER_SEC (USER_HZ) /* like times() */
|
|
#endif
|
|
|
|
#ifndef HZ
|
|
#define HZ 100
|
|
#endif
|
|
|
|
#define EXEC_PAGESIZE 65536
|
|
|
|
#ifndef NOGROUP
|
|
#define NOGROUP (-1)
|
|
#endif
|
|
|
|
#define MAXHOSTNAMELEN 64 /* max length of hostname */
|
|
|
|
#endif /* _ASM_PARAM_H */
|