kernel: add missing symbol
[oweals/openwrt.git] / config / Config-kernel.in
index 8ea11ed4d1f3b8de7e9a08605aa9ebc1bb1c3d5d..4c191f0955baf0e083017391ddaea1ea24ceff7f 100644 (file)
@@ -42,9 +42,15 @@ config KERNEL_DEBUG_FS
          write to these files. Many common debugging facilities, such as
          ftrace, require the existence of debugfs.
 
+config KERNEL_ARM_PMU
+       bool
+       default n
+       depends on (arm || arm64)
+
 config KERNEL_PERF_EVENTS
        bool
        default n
+       select KERNEL_ARM_PMU if (arm || arm64)
 
 config KERNEL_PROFILING
        bool "Compile the kernel with profiling enabled"