arm64: entry: consolidate entry/exit helpers
authorMark Rutland <mark.rutland@arm.com>
Mon, 2 Aug 2021 14:07:30 +0000 (15:07 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 5 Aug 2021 13:04:19 +0000 (14:04 +0100)
commit46a2b02d232ece64af43e9ab0b4c64a7a756e58e
tree739c30c547feeefdf5da1f043e2fef9f60c98de5
parentff1176468d368232b684f75e82563369208bc371
arm64: entry: consolidate entry/exit helpers

To make the various entry/exit helpers easier to understand and easier
to compare, this patch moves all the entry/exit helpers to be adjacent
at the top of entry-common.c, rather than being spread out throughout
the file.

There should be no functional change as a result of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: James Morse <james.morse@arm.com>
Cc: Joey Gouly <joey.gouly@arm.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Will Deacon <will@kernel.org>
Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Link: https://lore.kernel.org/r/20210802140733.52716-2-mark.rutland@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/entry-common.c