Commit 860f7be2 authored by David Howells's avatar David Howells Committed by Linus Torvalds

MN10300: define HZ as a config option

Define HZ as a config option.
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment