diff options
| author | Sepherosa Ziehau <sephe@FreeBSD.org> | 2016-07-14 07:24:03 +0000 |
|---|---|---|
| committer | Sepherosa Ziehau <sephe@FreeBSD.org> | 2016-07-14 07:24:03 +0000 |
| commit | 3a1079321cd55a766d39909d1df76994089a8894 (patch) | |
| tree | 22b3dac46fc387059cbe1a3069d795137a45247e /sys/dev/hyperv/include/hyperv.h | |
| parent | ea505e3821e37aa186671b5711d438cb859b2546 (diff) | |
Notes
Diffstat (limited to 'sys/dev/hyperv/include/hyperv.h')
| -rw-r--r-- | sys/dev/hyperv/include/hyperv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hyperv/include/hyperv.h b/sys/dev/hyperv/include/hyperv.h index 18bc81d34cab..47f83a652ac7 100644 --- a/sys/dev/hyperv/include/hyperv.h +++ b/sys/dev/hyperv/include/hyperv.h @@ -336,7 +336,7 @@ typedef struct hv_vmbus_channel { struct sysctl_ctx_list ch_sysctl_ctx; } hv_vmbus_channel; -#define HV_VMBUS_CHAN_ISPRIMARY(chan) ((chan)->primary_channel == NULL) +#define VMBUS_CHAN_ISPRIMARY(chan) ((chan)->ch_subidx == 0) #define VMBUS_CHAN_FLAG_HASMNF 0x0001 /* |
