aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2019-11-25 13:34:59 +0100
committerVasily Gorbik <gor@linux.ibm.com>2019-11-30 10:52:47 +0100
commit4ac24c092b4eef69b2436ee4d478500dc886e8b5 (patch)
treee313e5c73958572c5a3266c0597932aea9403db2 /arch/arm64
parents390/test_unwind: require that unwinding ended successfully (diff)
downloadlinux-dev-4ac24c092b4eef69b2436ee4d478500dc886e8b5.tar.xz
linux-dev-4ac24c092b4eef69b2436ee4d478500dc886e8b5.zip
s390: fix register clobbering in CALL_ON_STACK
CALL_ON_STACK defines and initializes register variables. Inline assembly which follows might trigger compiler to generate memory access for "stack" argument (e.g. in case of S390_lowcore.nodat_stack). This memory access produces a function call under kasan with outline instrumentation which clobbers registers. Switch "stack" argument in CALL_ON_STACK helper to use memory reference constraint and perform load instead. Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/arm64')
0 files changed, 0 insertions, 0 deletions