diff options
author | Theodore Ts'o <tytso@mit.edu> | 2012-07-17 13:46:19 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-07-19 10:39:25 -0400 |
commit | 89c30f161cd03d9baa4c88105b0449ce7025d713 (patch) | |
tree | 56aa68bbb7dde24ae069c77eb1925a61dd497624 /drivers/block/xen-blkfront.c | |
parent | 9751bfd1c9177a8ab0a910fe279a8815e498561e (diff) |
xen-blkfront: 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>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Diffstat (limited to 'drivers/block/xen-blkfront.c')
-rw-r--r-- | drivers/block/xen-blkfront.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c index 60eed4bdd2e4..8f7a071c6dbe 100644 --- a/drivers/block/xen-blkfront.c +++ b/drivers/block/xen-blkfront.c | |||
@@ -854,9 +854,8 @@ static int setup_blkring(struct xenbus_device *dev, | |||
854 | if (err) | 854 | if (err) |
855 | goto fail; | 855 | goto fail; |
856 | 856 | ||
857 | err = bind_evtchn_to_irqhandler(info->evtchn, | 857 | err = bind_evtchn_to_irqhandler(info->evtchn, blkif_interrupt, 0, |
858 | blkif_interrupt, | 858 | "blkif", info); |
859 | IRQF_SAMPLE_RANDOM, "blkif", info); | ||
860 | if (err <= 0) { | 859 | if (err <= 0) { |
861 | xenbus_dev_fatal(dev, err, | 860 | xenbus_dev_fatal(dev, err, |
862 | "bind_evtchn_to_irqhandler failed"); | 861 | "bind_evtchn_to_irqhandler failed"); |