x86: isolate the rtc code for sharing
authorThomas Gleixner <tglx@linutronix.de>
Wed, 30 Jan 2008 12:30:26 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:26 +0000 (13:30 +0100)
commitfe599f9fbc5d470ec5b55d08f2bbb991ddecbbc8
treebe07dcd4062fbcb801ae833678b3818d2fd47ceb
parent6ce60b07e670e800c4c5cfe984ed5188e7a64135
x86: isolate the rtc code for sharing

The mach-default/mach_time.h code inline is moved to arch/x86/kernel/rtc.c
and the header files are adjusted.

Shrink the 3 dozen includes to the ones we really need.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/Makefile_32
arch/x86/kernel/rtc.c [new file with mode: 0644]
arch/x86/kernel/time_32.c
include/asm-x86/mach-default/mach_time.h [deleted file]
include/asm-x86/mc146818rtc.h
include/asm-x86/time.h