]> git.karo-electronics.de Git - linux-beck.git/commit
Staging: hv: vmbus: Don't wait indefinitely for IRQ resouces
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 15 Jul 2011 20:38:56 +0000 (13:38 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 23:16:11 +0000 (16:16 -0700)
commit2dda95f80b2afa4bf85c6419f40e11b545cda422
tree6f7f7c0faf8c355d0834d624856a1ecfee53c279
parentab8ac090142daa3371217de98f8a00419f8c2670
Staging: hv: vmbus: Don't wait indefinitely for IRQ resouces

If an attempt is made to load the vmbus driver on a non-Hyper-V platform,
the load operation will hang since we currently wait indefinitely to
retrieve the IRQ information. This is done in the context of an acpi callback
context (which will obviously not happen when this driver is
loaded on a non-Hyper-V platform). This patch fixes the problem.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/vmbus_drv.c