summaryrefslogtreecommitdiff
path: root/target/m68k/kernel
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2025-01-06 00:47:10 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2025-01-07 10:37:12 +0100
commitf64b525f4f654ef0f41f45c3af2d6ee1ffcc8b63 (patch)
tree2d57bd0c54b40cc1866d04d4eebe86069a79079d /target/m68k/kernel
parentbe735c88debdd1e3207af9c403e3c594798a3944 (diff)
target: linux: config: Set COMPAT_32BIT_TIME on 32bit architectures
Without it, on these architectures 'lvm pvscan' will busy-loop printing: | io_getevents failed: No such file or directory The symbol is defined in kernel's arch/Kconfig with 'default !64BIT || COMPAT'. Introduce Config.in.compat which has the symbol default to y unless a known 64bit ADK_TARGET_ARCH is enabled. Drop the symbol from all target/*/kernel/* for which the default applies. On 64bit systems, enabling this symbol is probably useful to provide comaptibility towards 32bit user space. Not sure if this is a possible choice in OpenADK, but just in case the symbol was not removed from: - target/aarch64/kernel/raspberry-pi4-64 - target/mips64/kernel/qemu-mips64 - target/riscv64/kernel/qemu-riscv64 Another case is targets explicitly having the symbol disabled, namely kvx. Given that the two kernel configs in question are full copies of the kernel-generated one, they are likely not a deliberate choice and thus removed as well. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'target/m68k/kernel')
-rw-r--r--target/m68k/kernel/aranym-m68k1
-rw-r--r--target/m68k/kernel/qemu-m68k-mcf52081
-rw-r--r--target/m68k/kernel/qemu-m68k-q8001
-rw-r--r--target/m68k/kernel/qemu-m68k-virt1
4 files changed, 0 insertions, 4 deletions
diff --git a/target/m68k/kernel/aranym-m68k b/target/m68k/kernel/aranym-m68k
index 9a4db207a..fb084e4b9 100644
--- a/target/m68k/kernel/aranym-m68k
+++ b/target/m68k/kernel/aranym-m68k
@@ -6,4 +6,3 @@ CONFIG_FPU=y
CONFIG_ATARI=y
CONFIG_NATFEAT=y
CONFIG_NFETH=y
-CONFIG_COMPAT_32BIT_TIME=y
diff --git a/target/m68k/kernel/qemu-m68k-mcf5208 b/target/m68k/kernel/qemu-m68k-mcf5208
index 9cfa4b601..42497f9fa 100644
--- a/target/m68k/kernel/qemu-m68k-mcf5208
+++ b/target/m68k/kernel/qemu-m68k-mcf5208
@@ -16,4 +16,3 @@ CONFIG_RAMKERNEL=y
CONFIG_BOOTPARAM=y
CONFIG_BOOTPARAM_STRING="console=ttyS0,115200"
CONFIG_CRC32=y
-CONFIG_COMPAT_32BIT_TIME=y
diff --git a/target/m68k/kernel/qemu-m68k-q800 b/target/m68k/kernel/qemu-m68k-q800
index 69cac7e51..05324c42b 100644
--- a/target/m68k/kernel/qemu-m68k-q800
+++ b/target/m68k/kernel/qemu-m68k-q800
@@ -7,4 +7,3 @@ CONFIG_ADB=y
CONFIG_ADB_MACII=y
CONFIG_BOOTPARAM=y
CONFIG_BOOTPARAM_STRING=""
-CONFIG_COMPAT_32BIT_TIME=y
diff --git a/target/m68k/kernel/qemu-m68k-virt b/target/m68k/kernel/qemu-m68k-virt
index 47e9200d4..db5f51c8e 100644
--- a/target/m68k/kernel/qemu-m68k-virt
+++ b/target/m68k/kernel/qemu-m68k-virt
@@ -1,3 +1,2 @@
CONFIG_M68K=y
CONFIG_VIRT=y
-CONFIG_COMPAT_32BIT_TIME=y