summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/diag.h
diff options
context:
space:
mode:
authorJanosch Frank <frankja@linux.vnet.ibm.com>2016-02-12 12:52:49 +0100
committerChristian Borntraeger <borntraeger@de.ibm.com>2016-06-10 12:07:10 +0200
commit022bd2d11cc51f62e873a09bcae8016b10950194 (patch)
tree56866562047d33114d658b1ca73cf3733224559c /arch/s390/include/asm/diag.h
parente435dc31398e63b992639cf62024d959219db191 (diff)
downloadblackbird-obmc-linux-022bd2d11cc51f62e873a09bcae8016b10950194.tar.gz
blackbird-obmc-linux-022bd2d11cc51f62e873a09bcae8016b10950194.zip
s390: Make diag224 public
Diag204's cpu structures only contain the cpu type by means of an index in the diag224 name table. Hence, to be able to use diag204 in any meaningful way, we also need a usable diag224 interface. Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com> Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/diag.h')
-rw-r--r--arch/s390/include/asm/diag.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/diag.h b/arch/s390/include/asm/diag.h
index f72744f14e31..197e303a76e9 100644
--- a/arch/s390/include/asm/diag.h
+++ b/arch/s390/include/asm/diag.h
@@ -205,4 +205,5 @@ struct diag204_x_phys_cpu {
} __packed;
int diag204(unsigned long subcode, unsigned long size, void *addr);
+int diag224(void *ptr);
#endif /* _ASM_S390_DIAG_H */
OpenPOWER on IntegriCloud