Skip to content

Commit

Permalink
core: generic_entry_a64.S: fix boot_mmu_config alignment
Browse files Browse the repository at this point in the history
Makes sure that boot_mmu_config is at a 8 byte aligned address.

Fixes: 520860f ("core: generic_entry: add enable_mmu()")
Reviewed-by: Jerome Forissier <[email protected]>
Signed-off-by: Jens Wiklander <[email protected]>
  • Loading branch information
jenswi-linaro authored and jforissier committed Nov 21, 2019
1 parent 25781fd commit 6e91545
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/arch/arm/kernel/generic_entry_a64.S
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ LOCAL_FUNC enable_mmu , : , .identity_map
ret
END_FUNC enable_mmu

.balign 8
DATA boot_mmu_config , : /* struct core_mmu_config */
.skip CORE_MMU_CONFIG_SIZE
END_DATA boot_mmu_config
Expand Down

0 comments on commit 6e91545

Please sign in to comment.