s390/mm: cleanup phys_to_pfn() and friends
authorAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 25 Feb 2020 11:44:06 +0000 (12:44 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Fri, 6 Mar 2020 10:37:41 +0000 (11:37 +0100)
commit014b020475d4b9670d3cff11b751a7c20208f78b
tree59c4f2e438b804606a422299cd0f677e07edabc3
parent5e674c308baba7b3c5912110aaff4fff2131de49
s390/mm: cleanup phys_to_pfn() and friends

Make page, frame, virtual and physical address conversion macros
more expressive by avoiding redundant definitions and defining
new macros using existing ones.

Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/page.h