Browse Source

kernel: add missing symbol

Add missing symbol When building kernel with profiling enabled and ARM
or ARM64 targets.

Signed-off-by: Daniel Golle <[email protected]>
Daniel Golle 9 năm trước cách đây
mục cha
commit
2aa818a0bb
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      config/Config-kernel.in

+ 6 - 0
config/Config-kernel.in

@@ -42,9 +42,15 @@ config KERNEL_DEBUG_FS
 	  write to these files. Many common debugging facilities, such as
 	  write to these files. Many common debugging facilities, such as
 	  ftrace, require the existence of debugfs.
 	  ftrace, require the existence of debugfs.
 
 
+config KERNEL_ARM_PMU
+	bool
+	default n
+	depends on (arm || arm64)
+
 config KERNEL_PERF_EVENTS
 config KERNEL_PERF_EVENTS
 	bool
 	bool
 	default n
 	default n
+	select KERNEL_ARM_PMU if (arm || arm64)
 
 
 config KERNEL_PROFILING
 config KERNEL_PROFILING
 	bool "Compile the kernel with profiling enabled"
 	bool "Compile the kernel with profiling enabled"