]> git.baikalelectronics.ru Git - kernel.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>
Tue, 21 May 2013 16:56:55 +0000 (09:56 -0700)
commited13b2bae42941067e3e2ab8866a6b5ac67653a1
treea80c74563ac5d729ebb87a8975c220e891995404
parent08272abf07f7b492701485a0669c8ef5acc016d7
Drivers: hv: Fix a bug in get_vp_index()

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>
Cc: Stable <stable@vger.kernel.org> (V3.9)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel_mgmt.c