]> git.baikalelectronics.ru Git - kernel.git/commit
i386: prepare sharing the PIT code
authorThomas Gleixner <tglx@linutronix.de>
Fri, 12 Oct 2007 21:04:06 +0000 (23:04 +0200)
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>
Fri, 12 Oct 2007 21:04:06 +0000 (23:04 +0200)
commit51438ba889384eae26afdac75097588ce18a605a
tree5ae8ac1d0da98e39535c8bffd904a9e2c0311e40
parent07100d866ea9c3a4ae95ceab8b37f66ef15691c0
i386: prepare sharing the PIT code

PIT clock events work already and the PIT handling is the same for
i386 and x86_64. x86_64 does not support PIT as a clock source, so
disable the PIT clocksource for x86_64.

Use the i386 i8253.h include file for x86_64 as well to share the
exports and the PIT constants.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
arch/x86/kernel/time_64.c
include/asm-x86/i8253.h
include/asm-x86/i8253_32.h [deleted file]
include/asm-x86/i8253_64.h [deleted file]