* [PATCH] ppc32: Set HZ to 1000 on ppc32
@ 2004-01-22 3:16 Benjamin Herrenschmidt
0 siblings, 0 replies; only message in thread
From: Benjamin Herrenschmidt @ 2004-01-22 3:16 UTC (permalink / raw)
To: Andrew Morton; +Cc: Linus Torvalds, Linux Kernel list
Hi Andrew !
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 :)
Please apply.
Ben.
diff -urN linux-2.5-merge/include/asm-ppc/param.h linuxppc-2.5-benh/include/asm-ppc/param.h
--- linux-2.5-merge/include/asm-ppc/param.h 2004-01-22 11:54:51.216740592 +1100
+++ linuxppc-2.5-benh/include/asm-ppc/param.h 2004-01-22 11:14:49.000000000 +1100
@@ -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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-01-22 3:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-22 3:16 [PATCH] ppc32: Set HZ to 1000 on ppc32 Benjamin Herrenschmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®