diff options
author | Theodore Ts'o <tytso@mit.edu> | 2012-07-14 20:27:52 -0400 |
---|---|---|
committer | Willy Tarreau <w@1wt.eu> | 2012-10-07 23:41:21 +0200 |
commit | fe1f4c7d2602bda2dddb13fd34e9678514478e12 (patch) | |
tree | b0321b7a32456163af725dd5f8254d41ad812509 /include | |
parent | 4bc4a0f1e034193d7c78783271053d9b00e120e1 (diff) |
random: remove rand_initialize_irq()
commit c5857ccf293968348e5eb4ebedc68074de3dcda6 upstream.
With the new interrupt sampling system, we are no longer using the
timer_rand_state structure in the irq descriptor, so we can stop
initializing it now.
[ Merged in fixes from Sedat to find some last missing references to
rand_initialize_irq() ]
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
[PG: in .34 the irqdesc.h content is in irq.h instead.]
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/irq.h | 1 | ||||
-rw-r--r-- | include/linux/random.h | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index 9e5f45a8bab4..23337104761e 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h @@ -174,7 +174,6 @@ struct irq_2_iommu; */ struct irq_desc { unsigned int irq; - struct timer_rand_state *timer_rand_state; unsigned int *kstat_irqs; #ifdef CONFIG_INTR_REMAP struct irq_2_iommu *irq_2_iommu; diff --git a/include/linux/random.h b/include/linux/random.h index 5a376bcfbe99..1864957af850 100644 --- a/include/linux/random.h +++ b/include/linux/random.h @@ -44,8 +44,6 @@ struct rand_pool_info { #ifdef __KERNEL__ -extern void rand_initialize_irq(int irq); - extern void add_device_randomness(const void *, unsigned int); extern void add_input_randomness(unsigned int type, unsigned int code, unsigned int value); |