]> git.ipfire.org Git - people/ms/linux.git/commit
Drivers: hv: Fix a bug in get_vp_index()
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 17 May 2013 16:30:35 +0000 (09:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Jun 2013 19:52:26 +0000 (12:52 -0700)
commit3343e275c00997a0c68485434f149302830a2583
tree2824913705479162a409b54ea193384b1e79f1a9
parent2d8343d22dc70f5b31f2996a717991349aec821e
Drivers: hv: Fix a bug in get_vp_index()

commit d2242a384355773c711a936522bcfae0f35f8c2a upstream.

Linux' notion of cpuid is different from the Host's notion of CPUID. In the
call to bind the channel interrupts, we should use the host's notion of
CPU Ids. Fix this bug.

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