lkml.org 
[lkml]   [2003]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux-2.4.23 dual Xeon detection problem + patch (fwd)
On Sun, 14 Dec 2003, Peter Breitenlohner wrote:

> Hi,
>
> originally I sent this to the maintainer (Ingo Molnar), but since I didn't
> get any response for about two weeks I am now sending this to the
> developer's list (with the patch -- originally as attachement -- now
> inlined).
> -------------------- start of patch ------------------
> --- linux-2.4.23/include/asm-i386/smpboot.h.orig 2003-08-25 13:44:43.000000000 +0200
> +++ linux-2.4.23/include/asm-i386/smpboot.h 2003-12-02 16:49:46.000000000 +0100
> @@ -73,11 +73,9 @@
> */
> static inline int cpu_present_to_apicid(int mps_cpu)
> {
> - if (clustered_apic_mode == CLUSTERED_APIC_XAPIC)
> - return raw_phys_apicid[mps_cpu];
> if(clustered_apic_mode == CLUSTERED_APIC_NUMAQ)
> return (mps_cpu/4)*16 + (1<<(mps_cpu%4));
> - return mps_cpu;
> + return raw_phys_apicid[mps_cpu];
> }

What was NR_CPUS in your kernel config?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.023 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site