[openwrt/openwrt] kernel: add missing symbol for bcm27xx

LEDE Commits lede-commits at lists.infradead.org
Sun Dec 18 02:21:51 PST 2022


stintel pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/7ccb4c6651e5696357cd8b8a104e873e36248705

commit 7ccb4c6651e5696357cd8b8a104e873e36248705
Author: Stijn Tintel <stijn at linux-ipv6.be>
AuthorDate: Tue May 17 20:50:31 2022 +0300

    kernel: add missing symbol for bcm27xx
    
    When KERNEL_PERF_EVENTS is enabled in OpenWrt, the RPI_AXIPERF symbol is
    exposed. Add a build option for it to fix build failures with
    KERNEL_PERF_EVENTS enabled.
    
    Fixes: 3564c22e46d5 ("bcm27xx: disable duplicate sdhost driver")
    Signed-off-by: Stijn Tintel <stijn at linux-ipv6.be>
    (cherry picked from commit efd9463dcfe27681879d18e5fd9a32351447aa25)
---
 config/Config-kernel.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 5e12ddd78d..4106d92498 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -81,6 +81,11 @@ config KERNEL_PROFILING
 	  Enable the extended profiling support mechanisms used by profilers such
 	  as OProfile.
 
+config KERNEL_RPI_AXIPERF
+	bool "Compile the kernel with RaspberryPi AXI Performance monitors"
+	default y
+	depends on KERNEL_PERF_EVENTS
+
 config KERNEL_UBSAN
 	bool "Compile the kernel with undefined behaviour sanity checker"
 	help




More information about the lede-commits mailing list