commit | 7aa0055e06475f7b486c0673bc59c6478bc055fa | [log] [tgz] |
---|---|---|
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | Wed Apr 10 15:48:43 2019 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Thu Apr 11 13:36:45 2019 +0200 |
tree | 646db629e908e27a0e133d612733cd643503a9f2 | |
parent | e24e4712efad737ca09ff299276737331cd021d9 [diff] |
s390: fine-tune stack switch helper The CALL_ON_STACK helper currently does not work with clang and for calls without arguments. It does not initialize r2 although the constraint is "+&d". Rework the CALL_FMT_x and the CALL_ON_STACK macros to work with clang and produce optimal code in all cases. Reported-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>