diff options
author | Gustavo Romero <gromero@linux.vnet.ibm.com> | 2019-06-18 00:24:58 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-06-19 13:05:07 +0300 |
commit | 8d0f1e05ab16c4bd628ddaefd20b94ffb36d799c (patch) | |
tree | ad68cbd8bc6df8c0164ef352b344c0e8c27009e6 /fs/nls/nls_cp1250.c | |
parent | 9c4e4c90ec24652921e31e9551fcaedc26eec86d (diff) | |
download | linux-8d0f1e05ab16c4bd628ddaefd20b94ffb36d799c.tar.xz |
selftests/powerpc: Fix earlyclobber in tm-vmxcopy
In some cases, compiler can allocate the same register for operand 'res'
and 'vecoutptr', resulting in segfault at 'stxvd2x 40,0,%[vecoutptr]'
because base register will contain 1, yielding a false-positive.
This is because output 'res' must be marked as an earlyclobber operand so
it may not overlap an input operand ('vecoutptr').
Signed-off-by: Gustavo Romero <gromero@linux.vnet.ibm.com>
Reviewed-by: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'fs/nls/nls_cp1250.c')
0 files changed, 0 insertions, 0 deletions