summaryrefslogtreecommitdiff
path: root/arch/s390/kernel/sysinfo.c
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2020-02-19 13:15:30 +0300
committerVasily Gorbik <gor@linux.ibm.com>2020-09-14 11:30:07 +0300
commit4d4a3caaf36246520d61c17a9fd86ce3893f6595 (patch)
treebc2ba2722f9c6a12c2264bbe4504abd9298cf5a9 /arch/s390/kernel/sysinfo.c
parent309f98dbc66cb183a84781e2b19595f044a2d6e4 (diff)
downloadlinux-4d4a3caaf36246520d61c17a9fd86ce3893f6595.tar.xz
s390/qdio: clean up QDR setup
__qdio_allocate_fill_qdr() is meant to set up one specific queue descriptor in the QDR. But for this simple task, it gets passed a bunch of global structs and offsets - and then navigates through the structs to find its actual operands. Clean up all the complicated pointer chasing & index calculation, and just pass a descriptor and its associated queue struct. While at it also add some virt_to_phys() translations, to clarify that addresses in the QDR are meant to be absolute. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/sysinfo.c')
0 files changed, 0 insertions, 0 deletions