x86: share hpet.h with i386
authorThomas Gleixner <tglx@linutronix.de>
Sat, 21 Jul 2007 15:10:16 +0000 (17:10 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 01:37:09 +0000 (18:37 -0700)
commit0655d7c32bd21685a58fc4636f378d086396eb68
tree57e156a53c6a853bdad840a85b56a0bea728d8aa
parentaec8148fda5686b671fbbd9ffd6f432a1f80ee3c
x86: share hpet.h with i386

hpet.h in asm-i386 and asm-x86_64 contain tons of duplicated stuff.
Consolidate into one shared header file.

AK: Fix i386 compilation with !X86_IO_APIC

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: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/kernel/hpet.c
include/asm-i386/hpet.h
include/asm-x86_64/hpet.h