Commit b40b91eb authored by Olav Haugan's avatar Olav Haugan
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>
parent 6141266d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment