This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
[bzimage] Fix page alignment of initrd images
The initrd_addr_max field represents the highest byte address that may be used to hold initrd images, and is therefore almost certainly not aligned to a page boundary: a typical value might be 0x7fffffff. Fix the address calculations to ensure that the initrd images are always aligned to a page boundary. Reported-by: Sitsofe Wheeler <email@example.com> Signed-off-by: Michael Brown <firstname.lastname@example.org>
- Loading branch information
Showing 1 changed file with 5 additions and 3 deletions.