[ARM] Move HZ definition into Kconfig
Move the HZ definition into Kconfig, and set appropriate defaults for platforms. Remove mostly empty asm/arch/param.h include file. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
committed by
Russell King
parent
ec1248e70e
commit
f80658137f
@@ -11,12 +11,7 @@
|
||||
#define __ASM_PARAM_H
|
||||
|
||||
#ifdef __KERNEL__
|
||||
# include <asm/arch/param.h> /* for kernel version of HZ */
|
||||
|
||||
# ifndef HZ
|
||||
# define HZ 100 /* Internal kernel timer frequency */
|
||||
# endif
|
||||
|
||||
# define HZ CONFIG_HZ /* Internal kernel timer frequency */
|
||||
# define USER_HZ 100 /* User interfaces are in "ticks" */
|
||||
# define CLOCKS_PER_SEC (USER_HZ) /* like times() */
|
||||
#else
|
||||
|
Reference in New Issue
Block a user