On Thu, Dec 06, 2001 at 09:35:06AM -0800, H . J . Lu wrote: > The byteorder field is emoved from /proc/cpuinfo in the current 2.4 > kernel in CVS. It breaks config.guess used by all the GNU softwares. > > Here is a patch. H.J. ---- --- arch/mips/kernel/proc.c.endian Wed Dec 5 08:02:53 2001 +++ arch/mips/kernel/proc.c Thu Dec 6 09:41:35 2001 @@ -42,6 +42,12 @@ static int show_cpuinfo(struct seq_file mips_cpu.cputype : CPU_UNKNOWN], (version >> 4) & 0x0f, version & 0x0f, (fp_vers >> 4) & 0x0f, fp_vers & 0x0f); +#if __BIG_ENDIAN + seq_printf(m, "byteorder\t\t: big endian\n"); +#endif +#if __LITTLE_ENDIAN + seq_printf(m, "byteorder\t\t: little endian\n"); +#endif seq_printf(m, "BogoMIPS\t\t: %lu.%02lu\n", (loops_per_jiffy + 2500) / (500000/HZ), ((loops_per_jiffy + 2500) / (5000/HZ)) % 100);