diff options
author | Anton Blanchard <anton@samba.org> | 2005-08-24 00:53:03 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-08-30 05:40:02 +0200 |
commit | 717522ff44f1fbee5ea09e83d7cd4b5c956e30f9 (patch) | |
tree | 9585541eb45c8afa0a9f024e145b43063189e0f4 /include/asm-ppc64/param.h | |
parent | [PATCH] oprofile PVR 970MP (diff) | |
download | linux-717522ff44f1fbee5ea09e83d7cd4b5c956e30f9.tar.xz linux-717522ff44f1fbee5ea09e83d7cd4b5c956e30f9.zip |
[PATCH] ppc64: Add CONFIG_HZ
While ppc64 has the CONFIG_HZ Kconfig option, it wasnt actually being
used. Connect it up and set all platforms to 250Hz.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to '')
-rw-r--r-- | include/asm-ppc64/param.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-ppc64/param.h b/include/asm-ppc64/param.h index 1fad38dcf707..76c212d475b3 100644 --- a/include/asm-ppc64/param.h +++ b/include/asm-ppc64/param.h @@ -1,6 +1,8 @@ #ifndef _ASM_PPC64_PARAM_H #define _ASM_PPC64_PARAM_H +#include <linux/config.h> + /* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -9,7 +11,7 @@ */ #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() */ #endif |