x86: put timer_rand_state pointer into irq_desc
authorYinghai Lu <yhlu.kernel@gmail.com>
Wed, 20 Aug 2008 03:50:08 +0000 (20:50 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 16 Oct 2008 14:52:31 +0000 (16:52 +0200)
commit3060d6fe28570640c2d7d66d38b9eaa848c3b9e3
tree838027c0f8ac336d82b606ba9a61e02453a6de68
parente5a53714acfc7b5f868d07d27c5f02cb00b118db
x86: put timer_rand_state pointer into irq_desc

irq_timer_state[] is a NR_IRQS sized array that is a side-by array to
the real irq_desc[] array.

Integrate that field into the (now dynamic) irq_desc dynamic array and
save some RAM.

v2: keep the old way to support arch not support irq_desc

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/char/random.c
include/linux/irq.h