summaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2025-02-18 12:11:34 +0100
committerVasily Gorbik <gor@linux.ibm.com>2025-02-18 18:49:24 +0100
commitc3a589fd9fcbf295a7402a4b188dc9277d505f4f (patch)
tree29b7eb92588fd59439236c5e2aa9f3e0e3c567c8 /scripts/clang-tools/gen_compile_commands.py
parent173767c218cc1da74704e7863f165ac8a9796f3e (diff)
downloadlinux-c3a589fd9fcbf295a7402a4b188dc9277d505f4f.tar.gz
linux-c3a589fd9fcbf295a7402a4b188dc9277d505f4f.tar.bz2
linux-c3a589fd9fcbf295a7402a4b188dc9277d505f4f.zip
s390/boot: Fix ESSA detection
The cmma_test_essa() inline assembly uses tmp as input and output, however tmp is specified as output only, which allows the compiler to optimize the initialization of tmp away. Therefore the ESSA detection may or may not work depending on previous contents of the register that the compiler selected for tmp. Fix this by using the correct constraint modifier. Fixes: 468a3bc2b7b9 ("s390/cmma: move parsing of cmma kernel parameter to early boot code") Cc: stable@vger.kernel.org Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Reviewed-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions