projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c564df4
)
ARM: ensure vm_struct has its phys_addr member filled in
author
Russell King
<rmk+kernel@arm.linux.org.uk>
Fri, 28 Sep 2012 12:48:48 +0000
(13:48 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Fri, 28 Sep 2012 12:49:14 +0000
(13:49 +0100)
This allows /proc/vmallocinfo to show the physical address for
ioremap mappings.
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/ioremap.c
patch
|
blob
|
history
diff --git
a/arch/arm/mm/ioremap.c
b/arch/arm/mm/ioremap.c
index
566750f
..
491f6b3
100644
(file)
--- a/
arch/arm/mm/ioremap.c
+++ b/
arch/arm/mm/ioremap.c
@@
-247,6
+247,7
@@
void __iomem * __arm_ioremap_pfn_caller(unsigned long pfn,
if (!area)
return NULL;
addr = (unsigned long)area->addr;
+ area->phys_addr = __pfn_to_phys(pfn);
#if !defined(CONFIG_SMP) && !defined(CONFIG_ARM_LPAE)
if (DOMAIN_IO == 0 &&