summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/xterm_kern.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2012-07-17 20:18:23 +0200
committerTheodore Ts'o <tytso@mit.edu>2012-07-19 16:40:42 +0200
commitaab944606f9490f158d3b28f6c44a33c4701a5b3 (patch)
tree2485de143ffec254a1785db3ee85a2260e689672 /arch/um/drivers/xterm_kern.c
parentsparc/ldc: remove IRQF_SAMPLE_RANDOM which is now a no-op (diff)
downloadlinux-aab944606f9490f158d3b28f6c44a33c4701a5b3.tar.xz
linux-aab944606f9490f158d3b28f6c44a33c4701a5b3.zip
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/xterm_kern.c')
-rw-r--r--arch/um/drivers/xterm_kern.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/um/drivers/xterm_kern.c b/arch/um/drivers/xterm_kern.c
index b68bbe269e01..e3031e69445d 100644
--- a/arch/um/drivers/xterm_kern.c
+++ b/arch/um/drivers/xterm_kern.c
@@ -50,8 +50,7 @@ int xterm_fd(int socket, int *pid_out)
init_completion(&data->ready);
err = um_request_irq(XTERM_IRQ, socket, IRQ_READ, xterm_interrupt,
- IRQF_SHARED | IRQF_SAMPLE_RANDOM,
- "xterm", data);
+ IRQF_SHARED, "xterm", data);
if (err) {
printk(KERN_ERR "xterm_fd : failed to get IRQ for xterm, "
"err = %d\n", err);