summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2009-02-19 12:54:29 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2009-02-19 12:54:29 +1100
commitcced00eb9d908a07efecfd9b2a2ac4847b88056b (patch)
tree3254bda8a5205cbc5d095b176c6279fe2f32c5ed /drivers/char
parent2d903a87a727c63252685bca707e3c2575aa78d8 (diff)
parentb662d2f7b4fd822bcaae95bc49e05bc1e6dabe24 (diff)
Merge commit 'genirq/auto-genirq-next'
Conflicts: kernel/irq/handle.c
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/random.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/char/random.c b/drivers/char/random.c
index 7c13581ca9cd..7c43ae782b26 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -241,6 +241,10 @@
#include <linux/percpu.h>
#include <linux/cryptohash.h>
+#ifdef CONFIG_GENERIC_HARDIRQS
+# include <linux/irq.h>
+#endif
+
#include <asm/processor.h>
#include <asm/uaccess.h>
#include <asm/irq.h>
@@ -558,7 +562,7 @@ struct timer_rand_state {
unsigned dont_count_entropy:1;
};
-#ifndef CONFIG_SPARSE_IRQ
+#ifndef CONFIG_GENERIC_HARDIRQS
static struct timer_rand_state *irq_timer_state[NR_IRQS];