linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* RE: [PATCH] ppc32: add CONFIG_HZ
@ 2005-08-26 22:48 Rune Torgersen
  2005-08-26 22:54 ` Dan Malek
  2005-08-26 22:55 ` Tom Rini
  0 siblings, 2 replies; 16+ messages in thread
From: Rune Torgersen @ 2005-08-26 22:48 UTC (permalink / raw)
  To: Tom Rini, Dan Malek; +Cc: Andrew Morton, linuxppc-dev, Kumar Gala

On Friday, August 26, 2005 16:32 Tom Rini wrote:
> So 250 is supposed to be the best choice of power vs latency and such.
> But hey, there's nothing stopping us from setting all of the embedded
> configs back down to 100 :)

I thought the default value for HZ in 2.6 was 1000?
At least this is what it is set at for the 82xx (and bigger embedded)
boards=20

^ permalink raw reply	[flat|nested] 16+ messages in thread
* [PATCH] ppc32: add CONFIG_HZ
@ 2005-08-26 19:15 Kumar Gala
  2005-08-26 20:13 ` Dan Malek
  0 siblings, 1 reply; 16+ messages in thread
From: Kumar Gala @ 2005-08-26 19:15 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linuxppc-dev

While ppc32 has the CONFIG_HZ Kconfig option, it wasnt actually being
used. Connect it up and set all platforms to 250Hz.  This pretty much
mimics the ppc64 patch from Anton Blanchard.

Signed-off-by: Kumar Gala <kumar.gala@freescale.com>

---
commit a7d81273171d49ac130f303eb63903298b4aeefb
tree a36b7872c98068519b9d85aa16e5f3f0b1668183
parent d90fa018552f3c3515ec46beadc0f0ff64c54547
author Kumar K. Gala <kumar.gala@freescale.com> Fri, 26 Aug 2005 14:14:40 -0500
committer Kumar K. Gala <kumar.gala@freescale.com> Fri, 26 Aug 2005 14:14:40 -0500

 include/asm-ppc/param.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/include/asm-ppc/param.h b/include/asm-ppc/param.h
--- 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__ */

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2005-09-08 15:53 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-26 22:48 [PATCH] ppc32: add CONFIG_HZ Rune Torgersen
2005-08-26 22:54 ` Dan Malek
2005-08-26 22:55 ` Tom Rini
2005-08-26 23:07   ` Dan Malek
2005-08-26 23:13     ` Tom Rini
2005-08-27  5:04     ` Grant Likely
2005-08-28  0:48       ` Dan Malek
2005-08-28  2:19         ` Paul Mackerras
  -- strict thread matches above, loose matches on Subject: below --
2005-08-26 19:15 Kumar Gala
2005-08-26 20:13 ` Dan Malek
2005-08-26 21:31   ` Tom Rini
2005-08-26 22:52     ` Dan Malek
2005-09-08  1:04     ` Marcelo Tosatti
2005-09-08 14:11       ` Kumar Gala
2005-09-08 15:53         ` Dan Malek
2005-08-29 15:31   ` Segher Boessenkool

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).