Drivers: hv: Cleanup vmbus_set_event() to support win7 and beyond
authorK. Y. Srinivasan <kys@microsoft.com>
Sat, 1 Dec 2012 14:46:46 +0000 (06:46 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 19:34:37 +0000 (11:34 -0800)
commit3be77774017fc3c7dd0b434265dfa417aac23545
treed50aa05aa9ef8bb01499153e48fd08a9458546f7
parentb3bf60c7b4665d40b8eae2217b54c4745f49f470
Drivers: hv: Cleanup vmbus_set_event() to support win7 and beyond

On win7 (ws2008 R2) and beyond, we have the notion of having dedicated interrupts on
a per-channel basis. When a channel has a dedicated interrupt assigned, there is no need
to set the interrupt bit in the shared page. Implement this optimization.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/connection.c