s390/pgalloc: use pointers instead of unsigned long values
authorHeiko Carstens <hca@linux.ibm.com>
Thu, 9 Dec 2021 11:01:25 +0000 (12:01 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 10 Dec 2021 15:14:26 +0000 (16:14 +0100)
commitda001fce26bec9b5933162b32b3cc65923ad6c17
tree932ad1ba1520491841980c8e4876a4a9398d9401
parent2f882800f6ab57b50b7c23a376a452a808025f37
s390/pgalloc: use pointers instead of unsigned long values

After adding the missing __va()/__pa() calls to the base asce
functions there are even more casts in the code than before. Make the
code more readable by passing and using pointers to page tables,
instead of using unsigned values for the same purpose.

This allows to get rid of nearly all casts within the code.

Suggested-by: Alexander Gordeev <agordeev@linux.ibm.com>
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/mm/pgalloc.c