commit | 62052e4d0ec8c9616d1a74823d5ac5192a7d0bb1 | [log] [tgz] |
---|---|---|
author | Olav Haugan <ohaugan@codeaurora.org> | Fri Oct 28 14:28:32 2011 -0700 |
committer | Linux Build Service Account <lnxbuild@localhost> | Thu Nov 17 00:07:24 2011 -0700 |
tree | 0b7fb0be1547213070f44956c3badda1f0a57982 | |
parent | 60dc123b0438ff7a7967f234544094b15bab0aed [diff] |
msm: board-8960: 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: I5839499d8274214ca08b9c11b57d44861ec894a3 Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>