aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hyperv.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/hyperv.h')
-rw-r--r--include/linux/hyperv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h
index 8a60e7766037..a3aa9e9ef6f2 100644
--- a/include/linux/hyperv.h
+++ b/include/linux/hyperv.h
@@ -426,6 +426,9 @@ enum vmbus_channel_message_type {
426 CHANNELMSG_COUNT 426 CHANNELMSG_COUNT
427}; 427};
428 428
429/* Hyper-V supports about 2048 channels, and the RELIDs start with 1. */
430#define INVALID_RELID U32_MAX
431
429struct vmbus_channel_message_header { 432struct vmbus_channel_message_header {
430 enum vmbus_channel_message_type msgtype; 433 enum vmbus_channel_message_type msgtype;
431 u32 padding; 434 u32 padding;