From: Matthew Wilcox <willy@debian.org>
To: Anders Gustafsson <andersg@0x63.nu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] add xbox subarchitecture
Date: Thu, 10 Jul 2003 20:37:51 +0100 [thread overview]
Message-ID: <20030710193751.GI1939@parcelfarce.linux.theplanet.co.uk> (raw)
> diff -Nru a/include/asm-i386/timex.h b/include/asm-i386/timex.h
> --- a/include/asm-i386/timex.h Thu Jul 10 18:07:08 2003
> +++ b/include/asm-i386/timex.h Thu Jul 10 18:07:08 2003
> @@ -15,7 +15,11 @@
> #ifdef CONFIG_MELAN
> # define CLOCK_TICK_RATE 1189200 /* AMD Elan has different frequency! */
> #else
> -# define CLOCK_TICK_RATE 1193182 /* Underlying HZ */
> +# ifdef CONFIG_X86_XBOX
> +# define CLOCK_TICK_RATE 1124998 /* so has the Xbox */
> +# else
> +# define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
> +# endif
> #endif
> #endif
How about more simply:
#ifdef CONFIG_MELAN
# define CLOCK_TICK_RATE 1189200 /* AMD Elan has different frequency! */
+#elif defined(CONFIG_X86_XBOX)
+# define CLOCK_TICK_RATE 1124998 /* so has the Xbox */
#else
# define CLOCK_TICK_RATE 1193182 /* Underlying HZ */
#endif
--
"It's not Hollywood. War is real, war is primarily not about defeat or
victory, it is about death. I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
next reply other threads:[~2003-07-10 19:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-10 19:37 Matthew Wilcox [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-07-10 17:28 Anders Gustafsson
2003-07-10 18:09 ` Christoph Hellwig
2003-07-11 8:29 ` Anders Gustafsson
2003-07-11 8:45 ` Christoph Hellwig
2003-07-11 9:03 ` Anders Gustafsson
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=20030710193751.GI1939@parcelfarce.linux.theplanet.co.uk \
--to=willy@debian.org \
--cc=andersg@0x63.nu \
--cc=linux-kernel@vger.kernel.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®