Skip to content
Commit 95b3f74b authored by Catalin Marinas's avatar Catalin Marinas Committed by Will Deacon
Browse files

arm64: Use macros instead of hard-coded constants for MAIR_EL1



Currently, the arm64 __cpu_setup has hard-coded constants for the memory
attributes that go into the MAIR_EL1 register. Define proper macros in
asm/sysreg.h and make use of them in proc.S.

Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 83b0c36b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment