From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Andrew Morton <akpm@osdl.org>
Cc: Linus Torvalds <torvalds@osdl.org>,
Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: [PATCH] ppc32: Set HZ to 1000 on ppc32
Date: Thu, 22 Jan 2004 14:16:35 +1100 [thread overview]
Message-ID: <1074741394.967.89.camel@gaston> (raw)
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
reply other threads:[~2004-01-22 3:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1074741394.967.89.camel@gaston \
--to=benh@kernel.crashing.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®