]> err.no Git - linux-2.6/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)
commit0190dae54de62fbb9ced75d134015266987eb6b8
tree5ae8ac1d0da98e39535c8bffd904a9e2c0311e40
parentf5e0e93faf8421083853b2d7a217267f49e27cc3
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]