aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2019-10-21 15:05:52 +0100
committerMark Rutland <[email protected]>2019-11-06 14:17:36 +0000
commit7f08ae53a7e3ac2a2f86175226ee19f0117d5b6c (patch)
tree27155262f1099cb2112896df852b8e15a60c8cf6 /scripts/gdb/linux/utils.py
parent3b23e4991fb66f6d152f9055ede271a726ef9f21 (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 <[email protected]> Reviewed-by: Ard Biesheuvel <[email protected]> Reviewed-by: Torsten Duwe <[email protected]> Tested-by: Amit Daniel Kachhap <[email protected]> Tested-by: Torsten Duwe <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Will Deacon <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions