arm64: armv8_deprecated move emulation functions
authorMark Rutland <mark.rutland@arm.com>
Wed, 19 Oct 2022 14:41:21 +0000 (15:41 +0100)
committerWill Deacon <will@kernel.org>
Tue, 15 Nov 2022 13:46:18 +0000 (13:46 +0000)
commit25eeac0cfe7c97ade1be07340e11e7143aab57a6
tree341da264473c6939c8c63eaafac2afb43aaf19eb
parentb4453cc8a7ebbd45436a8cd3ffeaa069ceac146f
arm64: armv8_deprecated move emulation functions

Subsequent patches will rework the logic in armv8_deprecated.c.

In preparation for subsequent changes, this patch moves the emulation
logic earlier in the file, and moves the infrastructure later in the
file. This will make subsequent diffs simpler and easier to read.

This is purely a move. There should be no functional change as a result
of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: James Morse <james.morse@arm.com>
Cc: Joey Gouly <joey.gouly@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20221019144123.612388-8-mark.rutland@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/armv8_deprecated.c