]> git.baikalelectronics.ru Git - kernel.git/commit
kprobes: Use IS_ENABLED() instead of kprobes_built_in()
authorMasami Hiramatsu <mhiramat@kernel.org>
Tue, 14 Sep 2021 14:39:46 +0000 (23:39 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 1 Oct 2021 01:24:05 +0000 (21:24 -0400)
commitf0cb28d9834ec27997bede8a62d43fbe269596a8
tree56df95cdd0b193b408da7cc5c45183e940a76649
parent754549f5eeacea9fcccbe99eae51656d4b9d6a91
kprobes: Use IS_ENABLED() instead of kprobes_built_in()

Use IS_ENABLED(CONFIG_KPROBES) instead of kprobes_built_in().
This inline function is introduced only for avoiding #ifdef.
But since now we have IS_ENABLED(), it is no longer needed.

Link: https://lkml.kernel.org/r/163163038581.489837.2805250706507372658.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
include/linux/kprobes.h