]> git.hungrycats.org Git - linux/commitdiff
[PATCH] ppc32: Set HZ to 1000 on ppc32
authorAndrew Morton <akpm@osdl.org>
Wed, 4 Feb 2004 02:42:51 +0000 (18:42 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 4 Feb 2004 02:42:51 +0000 (18:42 -0800)
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

This patch has been in my tree for monthes and Paulus agrees that it should
be made generic, so here we go, PPC32 is now proud to run at 1000HZ :)

include/asm-ppc/param.h

index 428a10582ac67f23caaec1ae563dd4819c6e0ca2..5b6b7dafd7b10629d511047b7df9a53344f77f41 100644 (file)
@@ -1,16 +1,16 @@
 #ifndef _ASM_PPC_PARAM_H
 #define _ASM_PPC_PARAM_H
 
-#ifndef HZ
-#define HZ 100
-#endif
-
 #ifdef __KERNEL__
-#define HZ             100             /* internal timer frequency */
+#define HZ             1000            /* 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__ */
 
+#ifndef HZ
+#define HZ 100
+#endif
+
 #define EXEC_PAGESIZE  4096
 
 #ifndef NGROUPS