arm64: Use defines instead of magic numbers
authorAlexandru Elisei <alexandru.elisei@arm.com>
Fri, 5 Apr 2019 10:20:12 +0000 (11:20 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 5 Apr 2019 11:32:00 +0000 (12:32 +0100)
commitf6e564354a01dd943ba92c514ddf386080d7baa4
tree221cc9e8f9b8dd2fae3108efa059df9efebcd7bc
parent697e96ed1720d6aad196e7a663d545df2edd44a4
arm64: Use defines instead of magic numbers

Following assembly code is not trivial; make it slightly easier to read by
replacing some of the magic numbers with the defines which are already
present in sysreg.h.

Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/assembler.h
arch/arm64/kernel/head.S