summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2012-07-17 13:50:30 -0400
committerTheodore Ts'o <tytso@mit.edu>2012-07-19 10:39:25 -0400
commit20ed3ef7f3e39cb18fb64acc61aa40a74a9c7e19 (patch)
tree5a08fd45e4b153b4d1e1fe6ef781d1f035b5dd7f
parent89c30f161cd03d9baa4c88105b0449ce7025d713 (diff)
downloadlinux-3.10-20ed3ef7f3e39cb18fb64acc61aa40a74a9c7e19.tar.gz
linux-3.10-20ed3ef7f3e39cb18fb64acc61aa40a74a9c7e19.tar.bz2
linux-3.10-20ed3ef7f3e39cb18fb64acc61aa40a74a9c7e19.zip
drivers: hv: remove IRQF_SAMPLE_RANDOM which is now a no-op
With the changes in the random tree, IRQF_SAMPLE_RANDOM is now a no-op; interrupt randomness is now collected unconditionally in a very low-overhead fashion; see commit 775f4b297b. The IRQF_SAMPLE_RANDOM flag was scheduled to be removed in 2009 on the feature-removal-schedule, so this patch is preparation for the final removal of this flag. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Acked-by: "K. Y. Srinivasan" <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com>
-rw-r--r--drivers/hv/vmbus_drv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c
index a220e5746d6..4748086eaaf 100644
--- a/drivers/hv/vmbus_drv.c
+++ b/drivers/hv/vmbus_drv.c
@@ -545,8 +545,7 @@ static int vmbus_bus_init(int irq)
if (ret)
goto err_cleanup;
- ret = request_irq(irq, vmbus_isr, IRQF_SAMPLE_RANDOM,
- driver_name, hv_acpi_dev);
+ ret = request_irq(irq, vmbus_isr, 0, driver_name, hv_acpi_dev);
if (ret != 0) {
pr_err("Unable to request IRQ %d\n",