Searched hist:da001fce (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/s390/mm/ |
H A D | pgalloc.c | da001fce Thu Dec 09 05:01:25 CST 2021 Heiko Carstens <hca@linux.ibm.com> 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>
|