projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'pci-v4.4-fixes-4' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
[firefly-linux-kernel-4.4.55.git]
/
arch
/
arm
/
kernel
/
crash_dump.c
diff --git
a/arch/arm/kernel/crash_dump.c
b/arch/arm/kernel/crash_dump.c
index 90c50d4b43f74089b8a7eae08753c41ec00b4461..5d1286d51154cdc09d269ee292a0541cde367a5b 100644
(file)
--- a/
arch/arm/kernel/crash_dump.c
+++ b/
arch/arm/kernel/crash_dump.c
@@
-39,7
+39,7
@@
ssize_t copy_oldmem_page(unsigned long pfn, char *buf,
if (!csize)
return 0;
- vaddr = ioremap(
pfn << PAGE_SHIFT
, PAGE_SIZE);
+ vaddr = ioremap(
__pfn_to_phys(pfn)
, PAGE_SIZE);
if (!vaddr)
return -ENOMEM;