]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
MN10300: define HZ as a config option
authorDavid Howells <dhowells@redhat.com>
Sat, 23 Feb 2008 23:23:28 +0000 (15:23 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 24 Feb 2008 01:12:13 +0000 (17:12 -0800)
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>
arch/mn10300/Kconfig
include/asm-mn10300/param.h

index eedc3a5e0d9ba62f82c1ec49254eb38e0579a452..6a6409adc56403c34ced10eee3d51c638c8314e2 100644 (file)
@@ -63,6 +63,10 @@ config GENERIC_HARDIRQS
 config HOTPLUG_CPU
        def_bool n
 
+config HZ
+       int
+       default 1000
+
 mainmenu "Matsushita MN10300/AM33 Kernel Configuration"
 
 source "init/Kconfig"
index 54b883ec390611a1a8b7381df65545cde113055e..789b1df41fcb2f08edb73cc433cab3d868696eb4 100644 (file)
@@ -12,7 +12,7 @@
 #define _ASM_PARAM_H
 
 #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
                                         * "ticks" */
 #define CLOCKS_PER_SEC (USER_HZ)       /* like times() */