Skip to content

Commit

Permalink
kernel: add missing symbol for bcm27xx
Browse files Browse the repository at this point in the history
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: 20ea6ad ("bcm27xx: add support for linux v5.15")
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
  • Loading branch information
stintel committed May 17, 2022
1 parent 0ffb6de commit efd9463
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/Config-kernel.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit efd9463

Please sign in to comment.