Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MN10300: define HZ as a config option

Define HZ as a config option.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

David Howells and committed by
Linus Torvalds
860f7be2 1a823ac9

+5 -1
+4
arch/mn10300/Kconfig
··· 63 63 config HOTPLUG_CPU 64 64 def_bool n 65 65 66 + config HZ 67 + int 68 + default 1000 69 + 66 70 mainmenu "Matsushita MN10300/AM33 Kernel Configuration" 67 71 68 72 source "init/Kconfig"
+1 -1
include/asm-mn10300/param.h
··· 12 12 #define _ASM_PARAM_H 13 13 14 14 #ifdef __KERNEL__ 15 - #define HZ 1000 /* Internal kernel timer frequency */ 15 + #define HZ CONFIG_HZ /* Internal kernel timer frequency */ 16 16 #define USER_HZ 100 /* .. some user interfaces are in 17 17 * "ticks" */ 18 18 #define CLOCKS_PER_SEC (USER_HZ) /* like times() */