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

Next file: linux/arch/i386/config.in
Previous file: linux/arch/alpha/config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.34/linux/arch/alpha/kernel/irq.c linux/arch/alpha/kernel/irq.c
@@ -17,6 +17,7 @@
 #include <linux/signal.h>
 #include <linux/sched.h>
 #include <linux/interrupt.h>
+#include <linux/random.h>
 
 #include <asm/system.h>
 #include <asm/io.h>
@@ -322,10 +323,8 @@
 
 	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, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this