Staging: hv: Cleanup irq management
commit52e5c1cec89879bd64eb4e681b4cb1525eabb472
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 15 Mar 2011 22:03:34 +0000 (15 15:03 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Apr 2011 04:47:27 +0000 (4 21:47 -0700)
tree1865e4f714c058d1e62c034279b415303e511e3f
parent800b6902fdc86f48f39c1db8fb2ec2116058a1c7
Staging: hv: Cleanup irq management

Now that vmbus_driver is a  pci driver,
cleanup the irq allocation mess by using the standard
irq allocation mechanisms.

Note that this patch generates an error when the checkpatch
script is run because of the IRQF_SAMPLE_RANDOM flag used in
request_irq() function. This interrupt may be the only
external event this VM will get and consequently if this
flag (IRQF_SAMPLE_RANDOM) is not  specified, experimentally
we have shown that the entropy in the VM will very very low.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Mike Sterling <mike.sterling@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/vmbus_drv.c