summaryrefslogtreecommitdiff
path: root/lib/bust_spinlocks.c
diff options
context:
space:
mode:
authorHarald Freudenberger <freude@linux.ibm.com>2018-11-16 15:48:10 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-11-30 07:22:05 +0100
commit159491f3b509bd8101199944dc7b0673b881c734 (patch)
tree0e16242c5516d3fa0231267b06c127366acc7bb3 /lib/bust_spinlocks.c
parente45a64975b021b6fc9fdd0dd0b74539ae1b5aa86 (diff)
s390/ap: rework assembler functions to use unions for in/out register variables
The inline assembler functions ap_aqic() and ap_qact() used two variables declared on the very same register. One variable was for input only, the other for output. Looks like newer versions of the gcc don't like this. Anyway it is a better coding to use one variable (which may have a union data type) on one register for input and output. So this patch introduces unions and uses only one variable now for input and output for GR1 for the PQAP(QACT) and PQAP(QIC) invocation. Signed-off-by: Harald Freudenberger <freude@linux.ibm.com> Acked-by: Ilya Leoshkevich <iii@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'lib/bust_spinlocks.c')
0 files changed, 0 insertions, 0 deletions