Skip to content

Commit

Permalink
MN10300: define HZ as a config option
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Howells authored and Linus Torvalds committed Feb 24, 2008
1 parent 1a823ac commit 860f7be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions arch/mn10300/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion include/asm-mn10300/param.h
Original file line number Diff line number Diff line change
Expand Up @@ -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() */
Expand Down

0 comments on commit 860f7be

Please sign in to comment.