arm64: cpufeature: reorder cpus_have_{const, final}_cap()
authorMark Rutland <mark.rutland@arm.com>
Mon, 26 Oct 2020 13:49:30 +0000 (13:49 +0000)
committerMarc Zyngier <maz@kernel.org>
Fri, 30 Oct 2020 08:53:10 +0000 (08:53 +0000)
commitdfc4e3f08903ed8fe0b66cc25b64524a82654166
tree397909428aeffb91f630da1c9c8a08272493a032
parente9a33caec90e05673e2f7fb7c80f172031964d25
arm64: cpufeature: reorder cpus_have_{const, final}_cap()

In a subsequent patch we'll modify cpus_have_const_cap() to call
cpus_have_final_cap(), and hence we need to define cpus_have_final_cap()
first.

To make subsequent changes easier to follow, this patch reorders the two
without making any other changes.

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

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: Will Deacon <will@kernel.org>
Cc: David Brazdil <dbrazdil@google.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20201026134931.28246-3-mark.rutland@arm.com
arch/arm64/include/asm/cpufeature.h