mm: move __phys_to_pfn and __pfn_to_phys to asm/generic/memory_model.h
authorChristoph Hellwig <hch@lst.de>
Fri, 7 Aug 2015 21:41:01 +0000 (17:41 -0400)
committerDan Williams <dan.j.williams@intel.com>
Thu, 27 Aug 2015 23:40:58 +0000 (19:40 -0400)
commit012dcef3f058385268630c0003e9b7f8dcafbeb4
tree11009c91175cbb15149259fc5c6c7722f98a25b1
parentcb389b9c0e00c30c9daf20287f7d91e2466edbb1
mm: move __phys_to_pfn and __pfn_to_phys to asm/generic/memory_model.h

Three architectures already define these, and we'll need them genericly
soon.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
arch/arm/include/asm/memory.h
arch/arm64/include/asm/memory.h
arch/unicore32/include/asm/memory.h
include/asm-generic/memory_model.h