kernel: add missing symbol
authorDaniel Golle <daniel@makrotopia.org>
Thu, 10 Mar 2016 21:01:20 +0000 (22:01 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 16 May 2016 16:00:34 +0000 (18:00 +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.
 
          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
 config KERNEL_PERF_EVENTS
        bool
        default n
+       select KERNEL_ARM_PMU if (arm || arm64)
 
 config KERNEL_PROFILING
        bool "Compile the kernel with profiling enabled"
 
 config KERNEL_PROFILING
        bool "Compile the kernel with profiling enabled"