]> git.baikalelectronics.ru Git - 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)
commitd1e7f29300b6b7e273d69edfcb9d7f6db439773d
tree5553e7d64c8efe29cd44c7a35f36522e4771c38f
parent93f2ebd50cdff184efeceb4c962f6ff8569c3cf4
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