diff options
author | Harald Freudenberger <freude@linux.ibm.com> | 2018-11-16 15:48:10 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-25 11:35:53 +0800 |
commit | 4c15ded559797bd969dd8222d4451554a5c1b3b5 (patch) | |
tree | a8d8eaf268a8e1298bb4f311c0ffb4d63b0c0577 /drivers/mmc | |
parent | fb48fb155e1b86a3c6d3a5cd67942e0513a267f0 (diff) | |
download | linux-stable-4c15ded559797bd969dd8222d4451554a5c1b3b5.tar.gz linux-stable-4c15ded559797bd969dd8222d4451554a5c1b3b5.tar.bz2 linux-stable-4c15ded559797bd969dd8222d4451554a5c1b3b5.zip |
s390/ap: rework assembler functions to use unions for in/out register variables
[ Upstream commit 159491f3b509bd8101199944dc7b0673b881c734 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/mmc')
0 files changed, 0 insertions, 0 deletions