At Thu, 5 Jun 2003 10:06:34 -0400 (EDT),
Alan Cox wrote:
>
> > Most geode specific code already merged, but it need
> > a definition of CONFIG_OOSTORE to speedup geode.
>
> The OOSTORE shouldnt be needed according to the natsemi info,
> you can just drop the ifdef
Thanks.
This patch does it. And remove CONFIG_NOHIGHMEM because
Geode supports MEM up to 512MB from GX1 datasheet.
Please apply it.
/usr/src$ diff -u linux-2.5.70/arch/i386/kernel/cpu/cyrix.c.keep linux-2.5.70/arch/i386/kernel/cpu/cyrix.c
--- linux-2.5.70/arch/i386/kernel/cpu/cyrix.c.keep 2003-06-06 06:41:09.000000000 +0900
+++ linux-2.5.70/arch/i386/kernel/cpu/cyrix.c 2003-06-06 06:41:23.000000000 +0900
@@ -109,7 +109,6 @@
static void __init set_cx86_reorder(void)
{
-#ifdef CONFIG_OOSTORE
u8 ccr3;
printk(KERN_INFO "Enable Memory access reorder on Cyrix/NSC processor.\n");
@@ -118,12 +117,9 @@
/* Load/Store Serialize to mem access disable (=reorder it) */
setCx86(CX86_PCR0, getCx86(CX86_PCR0) & ~0x80);
-#ifdef CONFIG_NOHIGHMEM
/* set load/store serialize from 1GB to 4GB */
ccr3 |= 0xe0;
-#endif
setCx86(CX86_CCR3, ccr3);
-#endif
}
static void __init set_cx86_memwb(void)
-- Hiroshi Miura --- http://www.da-cha.org/ NTTDATA Corp. Marketing & Business Strategy Planning Dept. --- miurahr@nttdata.co.jp Key fingerprint = 9117 9407 5684 FBF1 4063 15B4 401D D077 04AB 8617 -- My hacking life is happy as the day is long- 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/