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>
This commit is contained in:
Родитель
9751bfd1c9
Коммит
89c30f161c
|
@ -854,9 +854,8 @@ static int setup_blkring(struct xenbus_device *dev,
|
||||||
if (err)
|
if (err)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
err = bind_evtchn_to_irqhandler(info->evtchn,
|
err = bind_evtchn_to_irqhandler(info->evtchn, blkif_interrupt, 0,
|
||||||
blkif_interrupt,
|
"blkif", info);
|
||||||
IRQF_SAMPLE_RANDOM, "blkif", info);
|
|
||||||
if (err <= 0) {
|
if (err <= 0) {
|
||||||
xenbus_dev_fatal(dev, err,
|
xenbus_dev_fatal(dev, err,
|
||||||
"bind_evtchn_to_irqhandler failed");
|
"bind_evtchn_to_irqhandler failed");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче