kernel: enable CONFIG_RETPOLINE on aarch64 and armv5tel
Commit Message
Since there seems to be no consistent position for that directive, the
current approach is rather messy as it attempts to insert it near
CONFIG_SMP (found and enabled across all architectures). When in Rome...
Fixes: #12374
Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
config/kernel/kernel.config.aarch64-ipfire | 1 +
config/kernel/kernel.config.armv5tel-ipfire-multi | 1 +
2 files changed, 2 insertions(+)
@@ -28,6 +28,7 @@ CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_NEED_SG_DMA_LENGTH=y
CONFIG_SMP=y
+CONFIG_RETPOLINE=y
CONFIG_SWIOTLB=y
CONFIG_IOMMU_HELPER=y
CONFIG_KERNEL_MODE_NEON=y
@@ -762,6 +762,7 @@ CONFIG_PCI_HOST_GENERIC=y
CONFIG_HAVE_SMP=y
CONFIG_SMP=y
CONFIG_SMP_ON_UP=y
+CONFIG_RETPOLINE=y
CONFIG_ARM_CPU_TOPOLOGY=y
CONFIG_SCHED_MC=y
CONFIG_SCHED_SMT=y