]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: Add virt_to_pfn and use this instead of opencoding
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 3 Sep 2015 07:50:56 +0000 (13:20 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 1 Oct 2015 06:52:02 +0000 (16:52 +1000)
commitcf5e3f2558e1ac9b3c2a095195b08834fd4db0f6
tree13a23aaa4f550d6b9d913618c1179afbdc4f96f9
parentcd45981e24de5d2350cbda16ca19449e7323c627
powerpc/mm: Add virt_to_pfn and use this instead of opencoding

This add helper virt_to_pfn and remove the opencoded usage of the
same.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/page.h