kernel: add missing symbol
authorDaniel Golle <daniel@makrotopia.org>
Tue, 21 Jun 2016 10:30:06 +0000 (12:30 +0200)
committerZoltan HERPAI <wigyori@uid0.hu>
Tue, 21 Jun 2016 10:30:06 +0000 (12:30 +0200)
Add missing symbol When building kernel with profiling enabled and ARM
or ARM64 targets.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
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"