s390/lib: use expoline for indirect branches
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 23 Apr 2018 12:31:36 +0000 (14:31 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 7 May 2018 07:07:36 +0000 (09:07 +0200)
commit97489e0663fa700d6e7febddc43b58df98d7bcda
treee535bed69218ceec539b4e28a5e6058e5ff24c35
parent467a3bf219cee12259182c5cb4821f88fd518a51
s390/lib: use expoline for indirect branches

The return from the memmove, memset, memcpy, __memset16, __memset32 and
__memset64 functions are done with "br %r14". These are indirect branches
as well and need to use execute trampolines for CONFIG_EXPOLINE=y.

Cc: stable@vger.kernel.org # 4.16
Fixes: f19fbd5ed6 ("s390: introduce execute-trampolines for branches")
Reviewed-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/lib/mem.S