diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2013-02-17 14:30:44 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-27 13:15:53 -0500 |
commit | 302a3c0f2757ae1a3e7df3f9fa1f20e2214ab945 (patch) | |
tree | 96ecde42daee8290abf6e6cfca635b5a3142bb64 /drivers/hv/channel_mgmt.c | |
parent | 09884964335e85e897876d17783c2ad33cf8a2e0 (diff) |
Drivers: hv: vmbus: Use the new infrastructure for delivering VMBUS interrupts
Use the infrastructure for delivering VMBUS interrupts using a
special vector. With this patch, we can now properly handle
the VMBUS interrupts that can be delivered on any CPU. Also,
turn on interrupt load balancing as well.
This patch requires the infrastructure that was implemented in the patch:
X86: Handle Hyper-V vmbus interrupts as special hypervisor interrupts
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/channel_mgmt.c')
-rw-r--r-- | drivers/hv/channel_mgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c index 53a8600162a5..ff1be167eb04 100644 --- a/drivers/hv/channel_mgmt.c +++ b/drivers/hv/channel_mgmt.c | |||
@@ -318,7 +318,7 @@ static u32 get_vp_index(uuid_le *type_guid) | |||
318 | return 0; | 318 | return 0; |
319 | } | 319 | } |
320 | cur_cpu = (++next_vp % max_cpus); | 320 | cur_cpu = (++next_vp % max_cpus); |
321 | return 0; | 321 | return cur_cpu; |
322 | } | 322 | } |
323 | 323 | ||
324 | /* | 324 | /* |