arm64: sysreg: sort by encoding
authorMark Rutland <mark.rutland@arm.com>
Thu, 19 Jan 2017 17:18:30 +0000 (17:18 +0000)
committerMark Rutland <mark.rutland@arm.com>
Thu, 9 Mar 2017 15:29:44 +0000 (15:29 +0000)
commit47863d41ecf84541ad1392515b68e327125c908c
tree6b543a46c9ed159cf2f931a82483eaf9209303a4
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
arm64: sysreg: sort by encoding

Out sysreg definitions are largely (but not entirely) in ascending order
of op0:op1:CRn:CRm:op2.

It would be preferable to enforce this sort, as this makes it easier to
verify the set of encodings against documentation, and provides an
obvious location for each addition in future, minimising conflicts.

This patch enforces this order, by moving the few items that break it.
There should be no functional change.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/sysreg.h