diff options
Diffstat (limited to 'arch/s390/include/asm/appldata.h')
| -rw-r--r-- | arch/s390/include/asm/appldata.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/include/asm/appldata.h b/arch/s390/include/asm/appldata.h index 16887c5fd989..a6263d4e8e56 100644 --- a/arch/s390/include/asm/appldata.h +++ b/arch/s390/include/asm/appldata.h | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | #ifndef _ASM_S390_APPLDATA_H | 7 | #ifndef _ASM_S390_APPLDATA_H |
| 8 | #define _ASM_S390_APPLDATA_H | 8 | #define _ASM_S390_APPLDATA_H |
| 9 | 9 | ||
| 10 | #include <asm/diag.h> | ||
| 10 | #include <asm/io.h> | 11 | #include <asm/io.h> |
| 11 | 12 | ||
| 12 | #define APPLDATA_START_INTERVAL_REC 0x80 | 13 | #define APPLDATA_START_INTERVAL_REC 0x80 |
| @@ -53,6 +54,7 @@ static inline int appldata_asm(struct appldata_product_id *id, | |||
| 53 | parm_list.buffer_length = length; | 54 | parm_list.buffer_length = length; |
| 54 | parm_list.product_id_addr = (unsigned long) id; | 55 | parm_list.product_id_addr = (unsigned long) id; |
| 55 | parm_list.buffer_addr = virt_to_phys(buffer); | 56 | parm_list.buffer_addr = virt_to_phys(buffer); |
| 57 | diag_stat_inc(DIAG_STAT_X0DC); | ||
| 56 | asm volatile( | 58 | asm volatile( |
| 57 | " diag %1,%0,0xdc" | 59 | " diag %1,%0,0xdc" |
| 58 | : "=d" (ry) | 60 | : "=d" (ry) |
