]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
s390/vdso: remove superfluous variables
authorHeiko Carstens <hca@linux.ibm.com>
Sun, 24 Jan 2021 19:22:29 +0000 (20:22 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 9 Feb 2021 14:57:05 +0000 (15:57 +0100)
commit6755270b5ee28c7699f80216f7781557c1c2eb40
tree5553e7d64c8efe29cd44c7a35f36522e4771c38f
parent5ffd9af0fb611069f0e390b568a6460ff2c4122c
s390/vdso: remove superfluous variables

A few local variables exist only so the contents of a global variable
can be copied to them, and use that value only for reading.
Just remove them and rename some global variables. Also change
vdso64_[start|end] to be character arrays to be consistent with other
architectures, and get rid of the global variable vdso64_kbase.

Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/vdso.c