mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-16 05:50:19 +00:00
7bff489a14
Currently the wdt forces HZ=1000 and sidesteps CONFIG_HZ completely. This is a remnant from when HZ was hardcoded and before CONFIG_HZ was introduced. Additionally, not all of the timers have this requirement these days, so it's also an artificial limitation. Just kill it off and use CONFIG_HZ directly. Reported-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
23 lines
427 B
C
23 lines
427 B
C
#ifndef __ASM_SH_PARAM_H
|
|
#define __ASM_SH_PARAM_H
|
|
|
|
#ifdef __KERNEL__
|
|
# define HZ CONFIG_HZ
|
|
# 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 NOGROUP
|
|
#define NOGROUP (-1)
|
|
#endif
|
|
|
|
#define MAXHOSTNAMELEN 64 /* max length of hostname */
|
|
|
|
#endif /* __ASM_SH_PARAM_H */
|