Messages in this thread Patch in this message | | | Date | Fri, 29 Jul 2005 19:12:49 +0200 | From | Martin Schwidefsky <> | Subject | [patch 4/4] s390: fix inline assembly in appldata. |
| |
From: Gerald Schaefer <geraldsc@de.ibm.com>
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>
diffstat: arch/s390/appldata/appldata_base.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletion(-)
diff -urpN linux-2.6/arch/s390/appldata/appldata_base.c linux-2.6-patched/arch/s390/appldata/appldata_base.c --- linux-2.6/arch/s390/appldata/appldata_base.c 2005-06-17 21:48:29.000000000 +0200 +++ linux-2.6-patched/arch/s390/appldata/appldata_base.c 2005-07-29 18:43:40.000000000 +0200 @@ -232,7 +232,11 @@ static int appldata_diag(char record_nr, 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> ****************************/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |