patch-1.3.30 linux/arch/alpha/kernel/irq.c

Next file: linux/arch/alpha/kernel/time.c
Previous file: linux/arch/alpha/kernel/bios32.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.29/linux/arch/alpha/kernel/irq.c linux/arch/alpha/kernel/irq.c
@@ -313,6 +313,10 @@
 
 	kstat.interrupts[irq]++;
 	action = irq_action + irq;
+#ifdef CONFIG_RANDOM
+	if (action->flags & SA_SAMPLE_RANDOM)
+		add_interrupt_randomness(irq);
+#endif
 	/* quick interrupts get executed with no extra overhead */
 	if (action->flags & SA_INTERRUPT) {
 		action->handler(irq, regs);

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected] with Sam's (original) version
of this