commit | d76e3a8d7714b1cb806a815c3c8ea58000081466 | [log] [tgz] |
---|---|---|
author | Olav Haugan <ohaugan@codeaurora.org> | Mon Jan 16 16:55:07 2012 -0800 |
committer | Olav Haugan <ohaugan@codeaurora.org> | Sat Jan 21 17:47:38 2012 -0800 |
tree | 0dfa0661db55223a2de8d9eb6375066aa5a6ea60 | |
parent | c362a4e18a530d5ceb2d14031398b08b225b03ad [diff] |
msm: board-8064: Fix overflow in memory calc. An overflow occurs in locate_unstable_memory() when physical memory address space ends at 0xFFFFFFFF. Change code to handle overflow by ensuring that variables are limited to 0xFFFFFFFF and by rearranging additions and subtractions. Change-Id: I11cb890c09ef18fe7c103cbdf1232677704fcc17 Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>