Re: [patch 2.4 1/2] backport 2.6 x86 cpu capabilities

From: Marc-Christian Petersen
Date: Sat Aug 09 2003 - 06:23:18 EST


On Friday 08 August 2003 15:15, Jeff Garzik wrote:

Hi Jeff,

> >>-#define NCAPINTS 4 /* Currently we have 4 32-bit words worth of info */
> >>+#define NCAPINTS 6 /* Currently we have 6 32-bit words worth of info */
> > If you change NCAPINTS you also have to change the hardcoded
> > struct offset X86_VENDOR_ID in arch/i386/kernel/head.S. Otherwise
> > nasty stuff happen at boot since boot_cpu_data gets broken.
> hmmm, reality doesn't seem to bear that out... I made the same change
> to 2.6, without touching head.S, and life continues without "nasty
> stuff" AFAICS.
> Do both 2.4 and 2.6 need this change? And, why didn't 2.6 break?

Mikael is right. At least 2.4 need this change, otherwise APIC may break.
2.6 might break also in some cases.

ciao, Marc

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