diff options
author | Roy Franz <[email protected]> | 2013-09-22 15:45:30 -0700 |
---|---|---|
committer | Matt Fleming <[email protected]> | 2013-09-25 12:34:36 +0100 |
commit | 38dd9c02c3f2ed461165db22b93fae7f3ddde9ac (patch) | |
tree | 8e1d0ea4c9af90e91a58ef24e52f4c7d08a95f40 /tools/perf/util/trace-event-scripting.c | |
parent | 40e4530a00b7d52332fe9a1361388fda8e5260da (diff) |
efi: Enforce minimum alignment of 1 page on allocations.
The efi_high_alloc() and efi_low_alloc() functions
use the EFI_ALLOCATE_ADDRESS option to the EFI
function allocate_pages(), which requires a minimum
of page alignment, and rejects all other requests.
The existing code could fail to allocate depending
on allocation size, as although repeated allocation
attempts were made, none were guaranteed to be page
aligned.
Signed-off-by: Roy Franz <[email protected]>
Acked-by: Mark Salter <[email protected]>
Reviewed-by: Grant Likely <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions