Skip to content
Commit 5646963d authored by Anshuman Khandual's avatar Anshuman Khandual
Browse files

arm64/mm: Dynamically initialize protection_map[]



Later on certain protection_map[] elements will contain a runtime variable
with FEAT_LPA2 enabled, hence preventing a successful build because of the
current static initialization method. Instead protection_map[] can just be
left static (zero) initialized, and get updated in adjust_protection_map()
with actual protection values.

Signed-off-by: Anshuman Khandual's avatarAnshuman Khandual <anshuman.khandual@arm.com>
parent 375d411f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment