x86, perf: Fix the dependency of the x86 insn decoder selftest
authorMasami Hiramatsu <mhiramat@kernel.org>
Sun, 1 Sep 2019 03:03:08 +0000 (12:03 +0900)
committerIngo Molnar <mingo@kernel.org>
Mon, 2 Sep 2019 18:05:58 +0000 (20:05 +0200)
commit7720804a2ae46c90265a32c81c45fb6f8d2f4e8b
treef9f6e393346fcebe9f07d8c34c26a1ca223d8c6a
parent2c58167877a69ec0de21d1a5a3230a18777b7495
x86, perf: Fix the dependency of the x86 insn decoder selftest

Since x86 instruction decoder is not only for kprobes,
it should be tested when the insn.c is compiled.
(e.g. perf is enabled but kprobes is disabled)

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Fixes: cbe5c34c8c1f ("x86: Compile insn.c and inat.c only for KPROBES")
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/Kconfig.debug