diff options
author | Liu Hua <[email protected]> | 2014-03-27 06:56:18 +0100 |
---|---|---|
committer | Russell King <[email protected]> | 2014-04-07 12:10:00 +0100 |
commit | 8fad87bca7ac9737e413ba5f1656f1114a8c314d (patch) | |
tree | 5962461250dbb421d380b0486697486bbe4b57cf /tools/perf/scripts/python | |
parent | c7d442f46c1bb18e48204f41c3d838c475eb5130 (diff) |
ARM: 8012/1: kdump: Avoid overflow when converting pfn to physaddr
When we configure CONFIG_ARM_LPAE=y, pfn << PAGE_SHIFT will
overflow if pfn >= 0x100000 in copy_oldmem_page.
So use __pfn_to_phys for converting.
Signed-off-by: Liu Hua <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions