diff options
author | Theodore Ts'o <tytso@mit.edu> | 2012-07-17 14:18:23 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-07-19 10:40:42 -0400 |
commit | aab944606f9490f158d3b28f6c44a33c4701a5b3 (patch) | |
tree | 2485de143ffec254a1785db3ee85a2260e689672 /arch/um/drivers/random.c | |
parent | 71ba8d44da550089bda22b2a921757613b5e0b4e (diff) | |
download | kernel_goldelico_gta04-aab944606f9490f158d3b28f6c44a33c4701a5b3.zip kernel_goldelico_gta04-aab944606f9490f158d3b28f6c44a33c4701a5b3.tar.gz kernel_goldelico_gta04-aab944606f9490f158d3b28f6c44a33c4701a5b3.tar.bz2 |
um: 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: Jeff Dike <jdike@addtoit.com>
Cc: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/drivers/random.c')
-rw-r--r-- | arch/um/drivers/random.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/um/drivers/random.c b/arch/um/drivers/random.c index b25296e..e32c6aa 100644 --- a/arch/um/drivers/random.c +++ b/arch/um/drivers/random.c @@ -131,8 +131,7 @@ static int __init rng_init (void) random_fd = err; err = um_request_irq(RANDOM_IRQ, random_fd, IRQ_READ, random_interrupt, - IRQF_SAMPLE_RANDOM, "random", - NULL); + 0, "random", NULL); if (err) goto err_out_cleanup_hw; |