aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2016-03-10 22:01:20 +0100
committerDaniel Golle <daniel@makrotopia.org>2016-05-16 18:00:34 +0200
commit2aa818a0bb9cd3ab097132e963cfa4f11b5babee (patch)
tree3f87dcf668ba936912563b49a8ba2acf2e50aa8e
parent23a1fa07db3a9e136cceb1800616cf502d19f1c9 (diff)
downloadupstream-2aa818a0bb9cd3ab097132e963cfa4f11b5babee.tar.gz
upstream-2aa818a0bb9cd3ab097132e963cfa4f11b5babee.tar.bz2
upstream-2aa818a0bb9cd3ab097132e963cfa4f11b5babee.zip
kernel: add missing symbol
Add missing symbol When building kernel with profiling enabled and ARM or ARM64 targets. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
-rw-r--r--config/Config-kernel.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 8ea11ed4d1..4c191f0955 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -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"