commit | 95b3f74bec203804658e17f86fe20755bb8abcb9 | [log] [tgz] |
---|---|---|
author | Catalin Marinas <catalin.marinas@arm.com> | Wed Dec 11 18:40:09 2019 +0000 |
committer | Will Deacon <will@kernel.org> | Fri Jan 17 12:48:33 2020 +0000 |
tree | 0d8c66117f30d2c5ff4461d72664fbf3e159cf26 | |
parent | 83b0c36b8a136042aa9209fc9ca2fab31d5fbe7c [diff] |
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: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Will Deacon <will@kernel.org>