summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2011-08-25 09:49:01 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-25 15:23:19 -0700
commit5289d3d160e8d5c63974502696ab5def71891f18 (patch)
treee420b755b62608b543cd5fa897a9bd5b1186bef4 /arch
parent0293e5cabcd9067f35a64575922470b92d642d0e (diff)
Staging: hv: vmbus: Retry vmbus_post_msg() before giving up
The function hv_post_msg() can fail because of transient resource conditions. It may be useful to retry the operation. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/include/asm/hyperv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/hyperv.h b/arch/x86/include/asm/hyperv.h
index 5df477ac3af7..b80420bcd09d 100644
--- a/arch/x86/include/asm/hyperv.h
+++ b/arch/x86/include/asm/hyperv.h
@@ -189,5 +189,6 @@
#define HV_STATUS_INVALID_HYPERCALL_CODE 2
#define HV_STATUS_INVALID_HYPERCALL_INPUT 3
#define HV_STATUS_INVALID_ALIGNMENT 4
+#define HV_STATUS_INSUFFICIENT_BUFFERS 19
#endif