Skip to contentSkip to conversation

x86/defconfigs: Explicitly unset CONFIG_64BIT in i386_defconfig

PATCH Applied Andy Shevchenko 2 participants 4 messages Jun 26, 2025 – Jul 14, 2025 x86

lore
Share & tools
lore
#0 lore raw

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.

Fixes 0e11f689ec03 ("x86/kconfig/32: Refresh 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
index bd182325ebb4..9fc5c2eb58af 100644
@@ -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
#1 lore raw
Quoted 16 lines · Andy Shevchenko

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):

Quoted 8 lines
  $ 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.

Can it be applied now?

Signature · 2 lines
With Best Regards,
Andy Shevchenko