From: Jiri O. <ols...@gm...> - 2007-11-22 08:50:59
|
Hi, I noticed UM config is not working properly for CPU selection. I bisected following commit as a source: commit 1032c0ba9da5c5b53173ad2dcf8b2a2da78f8b17 Author: Sam Ravnborg <sa...@ra...> Date: Tue Nov 6 21:35:08 2007 +0100 x86: arch/x86/Kconfig.cpu unification Move all CPU definitions to Kconfig.cpu Always define X86_MINIMUM_CPU_FAMILY and do the obvious code cleanup in boot/cpucheck.c Comments from: Adrian Bunk <bu...@ke...> incorporated. Signed-off-by: Sam Ravnborg <sa...@ra...> Cc: Adrian Bunk <bu...@ke...> Cc: Brian Gerst <bg...@di...> Cc: Thomas Gleixner <tg...@li...> Cc: Ingo Molnar <mi...@re...> Cc: "H. Peter Anvin" <hp...@zy...> snip diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu index 0e2adad..c301622 100644 --- a/arch/x86/Kconfig.cpu +++ b/arch/x86/Kconfig.cpu @@ -3,11 +3,12 @@ if !X86_ELAN choice prompt "Processor family" - default M686 + default M686 if X86_32 + default GENERIC_CPU if X86_64 snip I'm not sure if this is the right way but following patch is working for me. Signed-off-by: Jiri Olsa <ols...@gm...> --- arch/um/Kconfig | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/um/Kconfig b/arch/um/Kconfig index dd1689b..3dcc17c 100644 --- a/arch/um/Kconfig +++ b/arch/um/Kconfig @@ -68,6 +68,10 @@ config IRQ_RELEASE_METHOD bool default y +config X86_32 + bool + def_bool !64BIT + menu "UML-specific options" config STATIC_LINK |