summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/ftrace.c
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2018-11-15 22:42:02 +0000
committerWill Deacon <will.deacon@arm.com>2018-11-30 13:29:05 +0000
commit49e258e05e8e56d53af20be481b311c43d7c286b (patch)
tree716f520c7b5714920403d309e322bc91e6220107 /arch/arm64/kernel/ftrace.c
parent6e803e2e6e367db9a0d6ecae1bd24bb5752011bd (diff)
arm64: ftrace: remove return_regs macros
The save_return_regs and restore_return_regs macros are only used by return_to_handler, and having them defined out-of-line only serves to obscure the logic. Before we complicate, let's clean this up and fold the logic directly into return_to_handler, saving a few lines of macro boilerplate in the process. At the same time, a missing trailing space is added to the comments, fixing a code style violation. There should be no functional change as a result of this patch. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Cc: AKASHI Takahiro <takahiro.akashi@linaro.org> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Torsten Duwe <duwe@suse.de> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/ftrace.c')
0 files changed, 0 insertions, 0 deletions