diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2016-02-26 23:13:16 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-02 00:57:20 (GMT) |
commit | 75ff3a8a9168df750b5bd0589e897a6c0517a9f1 (patch) | |
tree | 8fd74ea7038aee9503e31dda1281010aa16a9713 /kernel | |
parent | 7be3e169444d2c625f15a0b6639252b98d1f226a (diff) | |
download | linux-75ff3a8a9168df750b5bd0589e897a6c0517a9f1.tar.xz |
Drivers: hv: vmbus: avoid wait_for_completion() on crash
wait_for_completion() may sleep, it enables interrupts and this
is something we really want to avoid on crashes because interrupt
handlers can cause other crashes. Switch to the recently introduced
vmbus_wait_for_unload() doing busy wait instead.
Reported-by: Radim Krcmar <rkrcmar@redhat.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Radim Kr.má<rkrcmar@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions