s390/qdio: Move memory alloc/pointer arithmetic for slib and sl into one place
authorBenjamin Block <bblock@linux.ibm.com>
Wed, 5 Apr 2023 14:28:34 +0000 (16:28 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Fri, 3 Jan 2025 10:00:53 +0000 (11:00 +0100)
commit30e037ad7eb44bcf56fb1a845cc718d50c363310
tree38d025e82b640333656cc7c478cc02d929a1fa4f
parentefd34db6e6813c6e573f34353ce4ad5e81f56dbd
s390/qdio: Move memory alloc/pointer arithmetic for slib and sl into one place

Instead of distributing the memory allocation and pointer arithmetic to
place slib and sl on the page that is allocated for them over multiple
functions and comments, move both into the same context directly next to
each other, so that the knowledge of how this is done is immediately
visible.

The actual layout in memory doesn't change with this, just the structure
of the code to achieve it.

Signed-off-by: Benjamin Block <bblock@linux.ibm.com>
Reviewed-by: Steffen Maier <maier@linux.ibm.com>
Reviewed-by: Alexandra Winter <wintera@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
drivers/s390/cio/qdio.h
drivers/s390/cio/qdio_setup.c