diff options
author | Heiko Carstens <[email protected]> | 2022-05-11 14:05:26 +0200 |
---|---|---|
committer | Heiko Carstens <[email protected]> | 2022-05-17 15:16:28 +0200 |
commit | e6ed91fd0768b914558dad5eeda2407a7d871f52 (patch) | |
tree | 38ec239f54437eac27fa7190994f8cfce84d0dce /lib/test_fortify/write_overflow-memcpy.c | |
parent | fad442d3abde47aef97d0d822807ab6e2555784a (diff) |
s390/alternatives: remove padding generation code
clang fails to handle ".if" statements in inline assembly which are heavily
used in the alternatives code.
To work around this remove this code, and enforce that users of
alternatives must specify original and alternative instruction sequences
which have identical sizes. Add a compile time check with two ".org"
statements similar to arm64.
In result not only clang can handle this, but also quite a lot of code can
be removed.
Acked-by: Vasily Gorbik <[email protected]>
Tested-by: Nathan Chancellor <[email protected]>
Tested-by: Nick Desaulniers <[email protected]>
Link: https://github.com/ClangBuiltLinux/linux/issues/1356
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions