x86/defconfigs: Explicitly unset CONFIG_64BIT in i386_defconfig
PATCH v2 1/1 x86/defconfigs: Explicitly unset CONFIG_64BIT in i386_defconfig
A recent refresh of the defconfigs got rid of the following (unset) configuration option:
# CONFIG_64BIT is not set
Innocuous as it seems, when the configuration file is saved again the behavior is changed so that CONFIG_64BIT=y.
Currently,
$ make i386_defconfig $ grep CONFIG_64BIT .config CONFIG_64BIT=y
whereas previously (and with this patch):
$ make i386_defconfig $ grep CONFIG_64BIT .config # CONFIG_64BIT is not set
This was found by cross-compilation of the 32-bit kernel on 64-bit machine with the result of non-bootable kernel on Intel Galileo Gen 2 board.
Restore the missing explicitly unset CONFIG_64BIT in 32-bit defconfig.
---
v2: fixed the authorship and amended the commit message (Boris)
arch/x86/configs/i386_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/x86/configs/i386_defconfig +1 -0
@@ -28,6 +28,7 @@ CONFIG_BLK_DEV_INITRD=y CONFIG_KALLSYMS_ALL=y CONFIG_PROFILING=y CONFIG_KEXEC=y +# CONFIG_64BIT is not set CONFIG_SMP=y CONFIG_HYPERVISOR_GUEST=y CONFIG_PARAVIRT=y
Signature · 1 line
2.47.2
Quoted 16 lines · Andy Shevchenko
A recent refresh of the defconfigs got rid of the following (unset) configuration option:
#
CONFIG_64BITis not setInnocuous as it seems, when the configuration file is saved again the behavior is changed so that
CONFIG_64BIT=y.Currently,
$ make i386_defconfig $ grep CONFIG_64BIT .config CONFIG_64BIT=ywhereas previously (and with this patch):
Quoted 8 lines
$ make i386_defconfig $ grep CONFIG_64BIT .config # CONFIG_64BIT is not setThis was found by cross-compilation of the 32-bit kernel on 64-bit machine with the result of non-bootable kernel on Intel Galileo Gen 2 board.
Restore the missing explicitly unset
CONFIG_64BITin 32-bit defconfig.
Can it be applied now?
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 1 line · Andy Shevchenko
Can it be applied now?
I've merged it into the commit in Fixes:
Thx.
Signature · 4 lines
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquetteQuoted 6 lines · Borislav Petkov
Quoted 1 line · Andy Shevchenko
Can it be applied now?
I've merged it into the commit in Fixes:
Thank you!
Signature · 2 lines
With Best Regards, Andy Shevchenko