From 7231ec09a2ae26a5347ba73a6229c931b3f00d13 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 21 Nov 2010 22:56:33 +0000 Subject: [PATCH] x86: turn off CONFIG_X86_GENERIC for geos and net5501 CONFIG_X86_GENERIC obscures CONFIG_MGEODE_LX, etc. and causes it to use wrong cache-line size. Signed-off-by: Philip Prindeville git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24071 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/x86/geos/config-default | 2 ++ target/linux/x86/net5501/config-default | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/target/linux/x86/geos/config-default b/target/linux/x86/geos/config-default index 8d6e3aee6a..071f754906 100644 --- a/target/linux/x86/geos/config-default +++ b/target/linux/x86/geos/config-default @@ -20,6 +20,8 @@ CONFIG_PROCESSOR_SELECT=y # CONFIG_SERIO_LIBPS2 is not set CONFIG_X86_DEBUGCTLMSR=y # CONFIG_X86_DS is not set +# CONFIG_X86_GENERIC is not set +CONFIG_X86_INTERNODE_CACHE_SHIFT=5 CONFIG_X86_L1_CACHE_SHIFT=5 CONFIG_X86_TSC=y CONFIG_X86_USE_3DNOW=y diff --git a/target/linux/x86/net5501/config-default b/target/linux/x86/net5501/config-default index 77f6337741..173602794b 100644 --- a/target/linux/x86/net5501/config-default +++ b/target/linux/x86/net5501/config-default @@ -34,8 +34,9 @@ CONFIG_SCSI_MOD=y # CONFIG_TINY_RCU is not set CONFIG_X86_CMOV=y CONFIG_X86_DEBUGCTLMSR=y -CONFIG_X86_INTERNODE_CACHE_SHIFT=6 -CONFIG_X86_L1_CACHE_SHIFT=6 +# CONFIG_X86_GENERIC is not set +CONFIG_X86_INTERNODE_CACHE_SHIFT=5 +CONFIG_X86_L1_CACHE_SHIFT=5 CONFIG_X86_TSC=y CONFIG_X86_USE_3DNOW=y CONFIG_X86_USE_PPRO_CHECKSUM=y -- 2.11.0