summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/irq.c
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2019-10-21 17:05:52 +0300
committerMark Rutland <mark.rutland@arm.com>2019-11-06 17:17:36 +0300
commit7f08ae53a7e3ac2a2f86175226ee19f0117d5b6c (patch)
tree27155262f1099cb2112896df852b8e15a60c8cf6 /arch/arm64/kernel/irq.c
parent3b23e4991fb66f6d152f9055ede271a726ef9f21 (diff)
downloadlinux-7f08ae53a7e3ac2a2f86175226ee19f0117d5b6c.tar.xz
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/kernel/irq.c')
0 files changed, 0 insertions, 0 deletions