Skip to content
Commit 714497e3 authored by Michael Walle's avatar Michael Walle Committed by Heinrich Schuchardt
Browse files

efi_loader: round the memory area in efi_add_memory_map()



Virtually all callers of this function do the rounding on their own.
Some do it right, some don't. Instead of doing this in each caller,
do the rounding in efi_add_memory_map(). Change the size parameter
to bytes instead of pages and remove aligning and size calculation in
all callers.

There is no more need to make the original efi_add_memory_map() (which
takes pages as size) available outside the module. Thus rename it to
efi_add_memory_map_pg() and make it static to prevent further misuse
outside the module.

Signed-off-by: default avatarMichael Walle <michael@walle.cc>
Add missing comma in sunxi_display.c.
Reviewed-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent 515f6132
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment