]> Git Repo - linux.git/commitdiff
KVM: s390: pv: add macros for UVC CC values
authorClaudio Imbrenda <[email protected]>
Mon, 20 Sep 2021 13:24:49 +0000 (15:24 +0200)
committerChristian Borntraeger <[email protected]>
Mon, 25 Oct 2021 07:20:38 +0000 (09:20 +0200)
Add macros to describe the 4 possible CC values returned by the UVC
instruction.

Signed-off-by: Claudio Imbrenda <[email protected]>
Reviewed-by: Christian Borntraeger <[email protected]>
Reviewed-by: Janosch Frank <[email protected]>
Message-Id: <20210920132502[email protected]>
Signed-off-by: Janosch Frank <[email protected]>
Signed-off-by: Christian Borntraeger <[email protected]>
arch/s390/include/asm/uv.h

index fe92a4caf5ec8b38316282350988f2a89643e382..9ab1914c5b9524049fded6a748c087ec7d957e6c 100644 (file)
 #include <asm/page.h>
 #include <asm/gmap.h>
 
+#define UVC_CC_OK      0
+#define UVC_CC_ERROR   1
+#define UVC_CC_BUSY    2
+#define UVC_CC_PARTIAL 3
+
 #define UVC_RC_EXECUTED                0x0001
 #define UVC_RC_INV_CMD         0x0002
 #define UVC_RC_INV_STATE       0x0003
This page took 0.060897 seconds and 4 git commands to generate.