diff options
author | Liu Hua <sdu.liu@huawei.com> | 2014-03-27 06:56:18 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-07 10:28:17 -0700 |
commit | b4c97e6c9c17a32267a78f5661c5a07dd5a53e02 (patch) | |
tree | ebb979a0b2473f8843f41e94244a345241cad52c /arch/arm/mach-imx | |
parent | 542e7f333e12cb600e6a2a59356cae5ca8f0dea5 (diff) |
ARM: 8012/1: kdump: Avoid overflow when converting pfn to physaddr
commit 8fad87bca7ac9737e413ba5f1656f1114a8c314d upstream.
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 <sdu.liu@huawei.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/mach-imx')
0 files changed, 0 insertions, 0 deletions