Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm64: partially revert "ARM: 8167/1: extend the reserved memory for …
…initrd to be page aligned" This patch partially reverts commit 421520b (only the arm64 part). There is no guarantee that the boot-loader places other images like dtb in a different page than initrd start/end, especially when the kernel is built with 64KB pages. When this happens, such pages must not be freed. The free_reserved_area() already takes care of rounding up "start" and rounding down "end" to avoid freeing partially used pages. Cc: <[email protected]> # 3.17+ Reported-by: Peter Maydell <[email protected]> Signed-off-by: Catalin Marinas <[email protected]> Signed-off-by: Will Deacon <[email protected]>
- Loading branch information