]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitabc44c92cf70a051310d6ec53f875444f572b43f
tree59c4f2e438b804606a422299cd0f677e07edabc3
parent7243c21854614c69088a7f6da543f8a4744446c9
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