Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 43c1fa63 authored by Olav Haugan's avatar Olav Haugan Committed by Stephen Boyd
Browse files

ARM: Fix bank_pfn_end macro overflow



bank_pfn_end macro overflows when physical memory space
configuration ends at 0xFFFFFFFF.

The macro adds start and size together before converting
to a page frame number. Change the macro to convert start
and size first and then add them together.

Change-Id: If091fd860e6cc94f2221164bd79bf34415819e66
Signed-off-by: default avatarOlav Haugan <ohaugan@codeaurora.org>
(cherry picked from commit b40b91eb8101b996f6dca5ccfee91b1949aa27e6)
parent 9f687a7c
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