diff options
author | Peter Maydell <[email protected]> | 2012-07-12 23:57:35 +0100 |
---|---|---|
committer | Russell King <[email protected]> | 2012-07-29 22:19:14 +0100 |
commit | a5d5f7daa744b34477c4a12728bde0a1694a1707 (patch) | |
tree | 386299b6bedc567d937d2d8a35a3ae618ec22a60 /tools/perf/util/trace-event-scripting.c | |
parent | ff081e05bfba3461119cd280201d163b6858eda2 (diff) |
ARM: 7465/1: Handle >4GB memory sizes in device tree and mem=size@start option
The memory regions which are passed to arm_add_memory() from
device tree blobs via early_init_dt_add_memory_arch() can
have sizes which are larger than will fit in a 32 bit integer,
so switch to using a phys_addr_t to hold them, to avoid
silently dropping the top 32 bits of the size. Similarly, use
phys_addr_t in early_mem() so that mem=size@start command line
options specifying more than 4GB behave sensibly.
Acked-by: Will Deacon <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions