164ada643d
While ppc32 has the CONFIG_HZ Kconfig option, it wasnt actually being used. Connect it up and set all platforms to 250Hz. This pretty much mimics the ppc64 patch from Anton Blanchard. Signed-off-by: Kumar Gala <kumar.gala@freescale.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
25 lines
477 B
C
25 lines
477 B
C
#ifndef _ASM_PPC_PARAM_H
|
|
#define _ASM_PPC_PARAM_H
|
|
|
|
#include <linux/config.h>
|
|
|
|
#ifdef __KERNEL__
|
|
#define HZ CONFIG_HZ /* internal timer frequency */
|
|
#define USER_HZ 100 /* for user interfaces in "ticks" */
|
|
#define CLOCKS_PER_SEC (USER_HZ) /* frequency at which times() counts */
|
|
#endif /* __KERNEL__ */
|
|
|
|
#ifndef HZ
|
|
#define HZ 100
|
|
#endif
|
|
|
|
#define EXEC_PAGESIZE 4096
|
|
|
|
#ifndef NOGROUP
|
|
#define NOGROUP (-1)
|
|
#endif
|
|
|
|
#define MAXHOSTNAMELEN 64 /* max length of hostname */
|
|
|
|
#endif
|