]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
MIPS: page.h: Define virt_to_pfn()
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 9 Mar 2017 21:11:49 +0000 (13:11 -0800)
committerJames Hogan <jhogan@kernel.org>
Thu, 9 Nov 2017 13:25:44 +0000 (13:25 +0000)
commit37d15948eb72533757ff352cf6f92dc64daa291f
tree9fa6367c6186ab0bd47e55314265227590779e5e
parent0861aa1251c749bbec4ee124ee21660c2f263da4
MIPS: page.h: Define virt_to_pfn()

Define virt_to_pfn() based on the existing definition of virt_to_page()
which already does a PFN_DOWN(vir_to_phys(kaddr)).

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: Maciej W. Rozycki <macro@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/15409/
Signed-off-by: James Hogan <jhogan@kernel.org>
arch/mips/include/asm/page.h