提交 860f7be2 编写于 作者: D David Howells 提交者: Linus Torvalds

MN10300: define HZ as a config option

Define HZ as a config option.
Signed-off-by: NDavid Howells <dhowells@redhat.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 1a823ac9
...@@ -63,6 +63,10 @@ config GENERIC_HARDIRQS ...@@ -63,6 +63,10 @@ config GENERIC_HARDIRQS
config HOTPLUG_CPU config HOTPLUG_CPU
def_bool n def_bool n
config HZ
int
default 1000
mainmenu "Matsushita MN10300/AM33 Kernel Configuration" mainmenu "Matsushita MN10300/AM33 Kernel Configuration"
source "init/Kconfig" source "init/Kconfig"
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#define _ASM_PARAM_H #define _ASM_PARAM_H
#ifdef __KERNEL__ #ifdef __KERNEL__
#define HZ 1000 /* Internal kernel timer frequency */ #define HZ CONFIG_HZ /* Internal kernel timer frequency */
#define USER_HZ 100 /* .. some user interfaces are in #define USER_HZ 100 /* .. some user interfaces are in
* "ticks" */ * "ticks" */
#define CLOCKS_PER_SEC (USER_HZ) /* like times() */ #define CLOCKS_PER_SEC (USER_HZ) /* like times() */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册