aboutsummaryrefslogtreecommitdiff
path: root/include/asm-ppc/param.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc/param.h')
-rw-r--r--include/asm-ppc/param.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-ppc/param.h b/include/asm-ppc/param.h
index b24a4e37196..6198b1657a4 100644
--- a/include/asm-ppc/param.h
+++ b/include/asm-ppc/param.h
@@ -1,8 +1,10 @@
#ifndef _ASM_PPC_PARAM_H
#define _ASM_PPC_PARAM_H
+#include <linux/config.h>
+
#ifdef __KERNEL__
-#define HZ 1000 /* internal timer frequency */
+#define HZ CONFIG_HZ /* internal timer frequency */
#define USER_HZ 100 /* for user interfaces in "ticks" */
#define CLOCKS_PER_SEC (USER_HZ) /* frequency at which times() counts */
#endif /* __KERNEL__ */