]> err.no Git - linux-2.6/blobdiff - include/asm-ppc/param.h
[PATCH] pipe: remove redundant fifo_poll abstraction
[linux-2.6] / include / asm-ppc / param.h
index b24a4e37196a7d8242bb086061295ce1f7771bc1..6198b1657a455fd30b4ebfe31b6b3382db77953b 100644 (file)
@@ -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__ */