From: Michael Ellerman Date: Sun, 28 Nov 2010 18:26:36 +0000 (+0000) Subject: powerpc: Record vma->phys_addr in ioremap() X-Git-Tag: v2.6.38-rc1~405^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a9d12568e34e37a72d9e00ce01b62dec527e663;p=pandora-kernel.git powerpc: Record vma->phys_addr in ioremap() The vmalloc code can track the physical address of a vma, when the vma is used for ioremap, if set it is displayed in /proc/vmallocinfo. Because get_vm_area_caller() doesn't know it's being called for ioremap() it's up to the arch code to set the phys_addr. A bunch of other arch's do this, I'm not sure why powerpc doesn't? Signed-off-by: Michael Ellerman Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed