s390/vdso: correct CFI annotations of vDSO functions
authorVasily Gorbik <gor@linux.ibm.com>
Fri, 14 Sep 2018 16:08:10 +0000 (18:08 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 20 Sep 2018 11:20:29 +0000 (13:20 +0200)
commit26f4414a45b808f83d42d6fd2fbf4a59ef25e84b
treeb0c8dc5f007a5e13ca0794252777a454980be27e
parentd1befa65823e9c6d013883b8a41d081ec338c489
s390/vdso: correct CFI annotations of vDSO functions

Correct stack frame overhead for 31-bit vdso, which should be 96 rather
then 160. This is done by reusing STACK_FRAME_OVERHEAD definition which
contains correct value based on build flags. This fixes stack unwinding
within vdso code for 31-bit processes. While at it replace all hard coded
stack frame overhead values with the same definition in vdso64 as well.

Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/vdso32/clock_gettime.S
arch/s390/kernel/vdso32/gettimeofday.S
arch/s390/kernel/vdso64/clock_gettime.S
arch/s390/kernel/vdso64/gettimeofday.S