]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
xen-blkfront: remove IRQF_SAMPLE_RANDOM which is now a no-op
authorTheodore Ts'o <tytso@mit.edu>
Tue, 17 Jul 2012 17:46:19 +0000 (13:46 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 19 Jul 2012 14:39:25 +0000 (10:39 -0400)
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>
drivers/block/xen-blkfront.c

index 60eed4bdd2e4528ae3c3b8871cd65f85d3c34952..8f7a071c6dbe34579a03b52838d7c568105e00c0 100644 (file)
@@ -854,9 +854,8 @@ static int setup_blkring(struct xenbus_device *dev,
        if (err)
                goto fail;
 
-       err = bind_evtchn_to_irqhandler(info->evtchn,
-                                       blkif_interrupt,
-                                       IRQF_SAMPLE_RANDOM, "blkif", info);
+       err = bind_evtchn_to_irqhandler(info->evtchn, blkif_interrupt, 0,
+                                       "blkif", info);
        if (err <= 0) {
                xenbus_dev_fatal(dev, err,
                                 "bind_evtchn_to_irqhandler failed");