]> 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)
commitd0c0db44d2fdb38b75c23cfd25050fbeb984ad53
tree59c4f2e438b804606a422299cd0f677e07edabc3
parent2e0741150ef98d04684f0b1f6d1635e5a589a0de
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