1 Aug 2011 01:09
Re: [PATCH 1/5] um: Use __i386__ in ifdef for vsyscall exports, not SUBARCH_i386
David Woodhouse <dwmw2 <at> infradead.org>
2011-07-31 23:09:15 GMT
2011-07-31 23:09:15 GMT
On Sun, 2011-07-31 at 23:48 +0100, Al Viro wrote: > Hell, no. If you want to do it, do it the right way. See #x86_merge in > git://git.kernel.org/pub/scm/linux/kernel/git/viro/um-header.git/ 255 files changed, 6848 insertions(+), 7816 deletions(-) Absolutely, but slightly out of scope for what I was trying to do :) I just posted a *minimal* set of changes to make the UML build system cope; fixing the code as you've done is *definitely* the better option. Is there a reason it didn't go upstream yet? It just wants this, to make the CONFIG_64BIT option visible when SUBARCH=x86 and also put it *first*. diff --git a/arch/um/Kconfig.x86 b/arch/um/Kconfig.x86 index d31ecf3..630db12 100644 --- a/arch/um/Kconfig.x86 +++ b/arch/um/Kconfig.x86 <at> <at> -1,5 +1,19 <at> <at> mainmenu "User Mode Linux/$SUBARCH $KERNELVERSION Kernel Configuration" +config 64BIT + bool "Build 64-bit kernel" if SUBARCH = "x86" + default SUBARCH != "i386" + ---(Continue reading)help--- + Say yes to build a 64-bit kernel - formerly known as x86_64 + Say no to build a 32-bit kernel - formerly known as i386 + +config X86_32
Yup, that sounds good. Thanks Peter.
-Yong
RSS Feed