]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
mm/memblock.c: use PFN_PHYS()
authorFabian Frederick <fabf@skynet.be>
Mon, 7 Apr 2014 22:37:53 +0000 (15:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 7 Apr 2014 23:35:58 +0000 (16:35 -0700)
commit167632303005670713603452a3c9ee5de4aa5828
tree0e4c3ffc398200c0c8ed02d0fdb4561408d7a2b0
parent136199f0a67cd6bb3f0e8de0ad50f52879f82077
mm/memblock.c: use PFN_PHYS()

Replace ((phys_addr_t)(x) << PAGE_SHIFT) by pfn macro.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memblock.c