diff options
-rw-r--r-- | arch/mn10300/Kconfig | 4 | ||||
-rw-r--r-- | include/asm-mn10300/param.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/arch/mn10300/Kconfig b/arch/mn10300/Kconfig index eedc3a5e0d9b..6a6409adc564 100644 --- a/arch/mn10300/Kconfig +++ b/arch/mn10300/Kconfig | |||
@@ -63,6 +63,10 @@ config GENERIC_HARDIRQS | |||
63 | config HOTPLUG_CPU | 63 | config HOTPLUG_CPU |
64 | def_bool n | 64 | def_bool n |
65 | 65 | ||
66 | config HZ | ||
67 | int | ||
68 | default 1000 | ||
69 | |||
66 | mainmenu "Matsushita MN10300/AM33 Kernel Configuration" | 70 | mainmenu "Matsushita MN10300/AM33 Kernel Configuration" |
67 | 71 | ||
68 | source "init/Kconfig" | 72 | source "init/Kconfig" |
diff --git a/include/asm-mn10300/param.h b/include/asm-mn10300/param.h index 54b883ec3906..789b1df41fcb 100644 --- a/include/asm-mn10300/param.h +++ b/include/asm-mn10300/param.h | |||
@@ -12,7 +12,7 @@ | |||
12 | #define _ASM_PARAM_H | 12 | #define _ASM_PARAM_H |
13 | 13 | ||
14 | #ifdef __KERNEL__ | 14 | #ifdef __KERNEL__ |
15 | #define HZ 1000 /* Internal kernel timer frequency */ | 15 | #define HZ CONFIG_HZ /* Internal kernel timer frequency */ |
16 | #define USER_HZ 100 /* .. some user interfaces are in | 16 | #define USER_HZ 100 /* .. some user interfaces are in |
17 | * "ticks" */ | 17 | * "ticks" */ |
18 | #define CLOCKS_PER_SEC (USER_HZ) /* like times() */ | 18 | #define CLOCKS_PER_SEC (USER_HZ) /* like times() */ |