diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2022-05-17 20:50:31 +0300 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2022-05-17 20:54:25 +0300 |
commit | efd9463dcfe27681879d18e5fd9a32351447aa25 (patch) | |
tree | e7f555ce9da4c13976eac7c7e94f4fc18a1b176a | |
parent | 0ffb6deaaaf01a3c79e0e9540770b74fad55695d (diff) | |
download | upstream-efd9463dcfe27681879d18e5fd9a32351447aa25.tar.gz upstream-efd9463dcfe27681879d18e5fd9a32351447aa25.tar.bz2 upstream-efd9463dcfe27681879d18e5fd9a32351447aa25.zip |
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: 20ea6adbf199 ("bcm27xx: add support for linux v5.15")
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
-rw-r--r-- | config/Config-kernel.in | 5 |
1 files changed, 5 insertions, 0 deletions
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 |