diff options
author | Gerald Schaefer <geraldsc@de.ibm.com> | 2005-07-29 14:03:38 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-29 15:01:15 -0700 |
commit | b87a1e506115e7df4c6bfd266267ee0088cba3b7 (patch) | |
tree | 1f5e16a6478aaf58db89cc889568e36accb00d5f /arch | |
parent | 4ffa92340b22a59575afe60ea155195c43213120 (diff) | |
download | blackbird-op-linux-b87a1e506115e7df4c6bfd266267ee0088cba3b7.tar.gz blackbird-op-linux-b87a1e506115e7df4c6bfd266267ee0088cba3b7.zip |
[PATCH] s390: fix inline assembly in appldata
Fix inline assembly that gets miscompiled by gcc 4.
Signed-off-by: Gerald Schaefer <geraldsc@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/s390/appldata/appldata_base.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/s390/appldata/appldata_base.c b/arch/s390/appldata/appldata_base.c index c067435bae45..c9f2f60cfa58 100644 --- a/arch/s390/appldata/appldata_base.c +++ b/arch/s390/appldata/appldata_base.c @@ -232,7 +232,11 @@ static int appldata_diag(char record_nr, u16 function, unsigned long buffer, ry = -1; asm volatile( "diag %1,%0,0xDC\n\t" - : "=d" (ry) : "d" (&(appldata_parameter_list)) : "cc"); + : "=d" (ry) + : "d" (&appldata_parameter_list), + "m" (appldata_parameter_list), + "m" (appldata_product_id) + : "cc"); return (int) ry; } /************************ timer, work, DIAG <END> ****************************/ |