[openwrt/openwrt] kernel: Add CONFIG_PPC_QUEUED_SPINLOCKS configuration option

LEDE Commits lede-commits at lists.infradead.org
Thu Feb 23 13:23:42 PST 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/218f425b6165953c8adace91ac368a2db010357b

commit 218f425b6165953c8adace91ac368a2db010357b
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Tue Feb 21 23:13:27 2023 +0100

    kernel: Add CONFIG_PPC_QUEUED_SPINLOCKS configuration option
    
    The CONFIG_PPC_QUEUED_SPINLOCKS configuration option is not defined for
    kernel 5.15, it is defined for kernel 5.10.
    
    This fixes the compilation of mpc85xx/p2020 with kernel 5.15.
    
    Reviewed-by: Robert Marko <robimarko at gmail.com>
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/generic/config-5.15          | 1 +
 target/linux/mpc85xx/p1020/config-default | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/generic/config-5.15 b/target/linux/generic/config-5.15
index bd27f74d73..8334117975 100644
--- a/target/linux/generic/config-5.15
+++ b/target/linux/generic/config-5.15
@@ -4779,6 +4779,7 @@ CONFIG_PPC_4K_PAGES=y
 # CONFIG_PPC_DISABLE_WERROR is not set
 # CONFIG_PPC_EMULATED_STATS is not set
 # CONFIG_PPC_EPAPR_HV_BYTECHAN is not set
+# CONFIG_PPC_QUEUED_SPINLOCKS is not set
 # CONFIG_PPP is not set
 # CONFIG_PPPOATM is not set
 # CONFIG_PPPOE is not set
diff --git a/target/linux/mpc85xx/p1020/config-default b/target/linux/mpc85xx/p1020/config-default
index 65b40e1d7d..573ff362f9 100644
--- a/target/linux/mpc85xx/p1020/config-default
+++ b/target/linux/mpc85xx/p1020/config-default
@@ -34,7 +34,6 @@ CONFIG_MUTEX_SPIN_ON_OWNER=y
 CONFIG_NET_FLOW_LIMIT=y
 CONFIG_NR_CPUS=2
 CONFIG_PADATA=y
-# CONFIG_PPC_QUEUED_SPINLOCKS is not set
 CONFIG_REGMAP_IRQ=y
 CONFIG_REGULATOR=y
 CONFIG_RFS_ACCEL=y




More information about the lede-commits mailing list