diff options
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, | |||
232 | ry = -1; | 232 | ry = -1; |
233 | asm volatile( | 233 | asm volatile( |
234 | "diag %1,%0,0xDC\n\t" | 234 | "diag %1,%0,0xDC\n\t" |
235 | : "=d" (ry) : "d" (&(appldata_parameter_list)) : "cc"); | 235 | : "=d" (ry) |
236 | : "d" (&appldata_parameter_list), | ||
237 | "m" (appldata_parameter_list), | ||
238 | "m" (appldata_product_id) | ||
239 | : "cc"); | ||
236 | return (int) ry; | 240 | return (int) ry; |
237 | } | 241 | } |
238 | /************************ timer, work, DIAG <END> ****************************/ | 242 | /************************ timer, work, DIAG <END> ****************************/ |