diff for duplicates of <20011012225433.A10523@lucon.org> diff --git a/a/1.txt b/N1/1.txt index fcd8db7..9bd54b2 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -27,48 +27,3 @@ This is what I sent out in July. H.J. ---- -From hjl@lucon.org Tue Jul 24 13:25:34 2001 -Date: Tue, 24 Jul 2001 13:25:34 -0700 -From: "H . J . Lu" <hjl@lucon.org> -To: Marc Karasek <marc_karasek@ivivity.com> -Cc: linux-mips@oss.sgi.com -Subject: Re: GCC and Modules -Message-ID: <20010724132534.A25416@lucon.org> -References: <25369470B6F0D41194820002B328BDD27D2E@ATLOPS> <20010724085544.A20610@lucon.org> <995995907.1331.5.camel@localhost.localdomain> -Mime-Version: 1.0 -Content-Type: text/plain; charset=us-ascii -Content-Disposition: inline -User-Agent: Mutt/1.2.5i -In-Reply-To: <995995907.1331.5.camel@localhost.localdomain>; from marc_karasek@ivivity.com on Tue, Jul 24, 2001 at 01:31:41PM -0400 -Status: RO -Content-Length: 954 -Lines: 29 - -On Tue, Jul 24, 2001 at 01:31:41PM -0400, Marc Karasek wrote: -> The way to see this bug is just try to compile the MIPS kernel (either -> 2.4.1 or 2.4.3) as follows: -> -> 1) make distclean -> 2) copy linux/arch/mips/defconfig-malta linux/.config -> 3) make oldconfig -> 4) make menuconfig -> 5) change the endianess from little to big -> 6) make dep -> 7) make zImage -> - -That is a kernel bug. The code only works on littl endian by accident -Here is a patch. - - -H.J. ---- arch/mips/mips-boards/generic/time.c.int64 Tue Jul 24 13:21:21 2001 -+++ arch/mips/mips-boards/generic/time.c Tue Jul 24 13:22:02 2001 -@@ -275,7 +275,7 @@ void __init time_init(void) - - /* This is for machines which generate the exact clock. */ - #define USECS_PER_JIFFY (1000000/HZ) --#define USECS_PER_JIFFY_FRAC (0x100000000*1000000/HZ&0xffffffff) -+#define USECS_PER_JIFFY_FRAC ((long) (0x100000000*1000000/HZ&0xffffffff)) - - /* Cycle counter value at the previous timer interrupt.. */ diff --git a/a/content_digest b/N1/content_digest index 1be1201..b43bdd8 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -39,51 +39,6 @@ "\n" "\n" "H.J.\n" - "----\n" - "From hjl@lucon.org Tue Jul 24 13:25:34 2001\n" - "Date: Tue, 24 Jul 2001 13:25:34 -0700\n" - "From: \"H . J . Lu\" <hjl@lucon.org>\n" - "To: Marc Karasek <marc_karasek@ivivity.com>\n" - "Cc: linux-mips@oss.sgi.com\n" - "Subject: Re: GCC and Modules\n" - "Message-ID: <20010724132534.A25416@lucon.org>\n" - "References: <25369470B6F0D41194820002B328BDD27D2E@ATLOPS> <20010724085544.A20610@lucon.org> <995995907.1331.5.camel@localhost.localdomain>\n" - "Mime-Version: 1.0\n" - "Content-Type: text/plain; charset=us-ascii\n" - "Content-Disposition: inline\n" - "User-Agent: Mutt/1.2.5i\n" - "In-Reply-To: <995995907.1331.5.camel@localhost.localdomain>; from marc_karasek@ivivity.com on Tue, Jul 24, 2001 at 01:31:41PM -0400\n" - "Status: RO\n" - "Content-Length: 954\n" - "Lines: 29\n" - "\n" - "On Tue, Jul 24, 2001 at 01:31:41PM -0400, Marc Karasek wrote:\n" - "> The way to see this bug is just try to compile the MIPS kernel (either\n" - "> 2.4.1 or 2.4.3) as follows:\n" - "> \n" - "> 1) make distclean\n" - "> 2) copy linux/arch/mips/defconfig-malta linux/.config\n" - "> 3) make oldconfig\n" - "> 4) make menuconfig\n" - "> 5) change the endianess from little to big\n" - "> 6) make dep \n" - "> 7) make zImage \n" - "> \n" - "\n" - "That is a kernel bug. The code only works on littl endian by accident\n" - "Here is a patch.\n" - "\n" - "\n" - "H.J.\n" - "--- arch/mips/mips-boards/generic/time.c.int64\tTue Jul 24 13:21:21 2001\n" - "+++ arch/mips/mips-boards/generic/time.c\tTue Jul 24 13:22:02 2001\n" - "@@ -275,7 +275,7 @@ void __init time_init(void)\n" - " \n" - " /* This is for machines which generate the exact clock. */\n" - " #define USECS_PER_JIFFY (1000000/HZ)\n" - "-#define USECS_PER_JIFFY_FRAC (0x100000000*1000000/HZ&0xffffffff)\n" - "+#define USECS_PER_JIFFY_FRAC ((long) (0x100000000*1000000/HZ&0xffffffff))\n" - " \n" - /* Cycle counter value at the previous timer interrupt.. */ + ---- -dc858daf88eea32b96110e9cf7bae43265171dd57da62f01a4e8605e2ffc888a +0472a92c3862a8f672cb058f74293068d345c3a08e80ada471eedadb242eac49
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.