mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 18:13:04 +00:00
dd12666278
This wasn't being set before, so now it's set for when it makes sense. The shwdt case still requires HZ to be fixed at 1000 for the WOVF period, so this is still preserved. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
27 lines
516 B
C
27 lines
516 B
C
#ifndef __ASM_SH_PARAM_H
|
|
#define __ASM_SH_PARAM_H
|
|
|
|
#ifdef __KERNEL__
|
|
# ifdef CONFIG_SH_WDT
|
|
# define HZ 1000 /* Needed for high-res WOVF */
|
|
# else
|
|
# define HZ CONFIG_HZ
|
|
# 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 NOGROUP
|
|
#define NOGROUP (-1)
|
|
#endif
|
|
|
|
#define MAXHOSTNAMELEN 64 /* max length of hostname */
|
|
|
|
#endif /* __ASM_SH_PARAM_H */
|