commit | 3c7630d35009e6635e5b58d62de554fd5b6db5df | [log] [tgz] |
---|---|---|
author | Vitaly Kuznetsov <vkuznets@redhat.com> | Wed Dec 07 01:16:26 2016 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jan 10 21:46:40 2017 +0100 |
tree | b853b5f9fdac4a0f7c4c62b6ac359db64858c8cc | |
parent | 421b8f20d3c381b215f988b42428f56fc3b82405 [diff] |
hv: init percpu_list in hv_synic_alloc() Initializing hv_context.percpu_list in hv_synic_alloc() helps to prevent a crash in percpu_channel_enq() when not all CPUs were online during initialization and it naturally belongs there. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Cc: <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>