diff options
author | Mark Rutland <mark.rutland@arm.com> | 2019-10-21 15:05:52 +0100 |
---|---|---|
committer | Mark Rutland <mark.rutland@arm.com> | 2019-11-06 14:17:36 +0000 |
commit | 7f08ae53a7e3ac2a2f86175226ee19f0117d5b6c (patch) | |
tree | 27155262f1099cb2112896df852b8e15a60c8cf6 /arch/arm64/Kconfig | |
parent | 3b23e4991fb66f6d152f9055ede271a726ef9f21 (diff) |
arm64: ftrace: minimize ifdeffery
Now that we no longer refer to mod->arch.ftrace_trampolines in the body
of ftrace_make_call(), we can use IS_ENABLED() rather than ifdeffery,
and make the code easier to follow. Likewise in ftrace_make_nop().
Let's do so.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Torsten Duwe <duwe@suse.de>
Tested-by: Amit Daniel Kachhap <amit.kachhap@arm.com>
Tested-by: Torsten Duwe <duwe@suse.de>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/Kconfig')
0 files changed, 0 insertions, 0 deletions