x86: get irq for hpet timer
authorKevin Hao <kexin.hao@windriver.com>
Thu, 29 May 2008 10:41:04 +0000 (18:41 +0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 2 Jun 2008 09:35:12 +0000 (11:35 +0200)
commit70ef6d595b6e51618a0cbe44b848d8c9db11a010
tree78129b50ab2f76752d1012502d724a78ad7bc648
parente490517a039a99d692cb3a5561941b0a5f576172
x86: get irq for hpet timer

HPET timer's IRQ is 0 by default. So we have to select which irq
will be used by these timers. We wait to set the timer's irq until
we really open it in order to reduce the chance of conflicting with
other device.

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/char/hpet.c
include/linux/hpet.h