diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-01-30 07:30:26 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:30:26 -0500 |
commit | fe599f9fbc5d470ec5b55d08f2bbb991ddecbbc8 (patch) | |
tree | be07dcd4062fbcb801ae833678b3818d2fd47ceb /include/asm-x86/mc146818rtc.h | |
parent | 6ce60b07e670e800c4c5cfe984ed5188e7a64135 (diff) |
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>
Diffstat (limited to 'include/asm-x86/mc146818rtc.h')
-rw-r--r-- | include/asm-x86/mc146818rtc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-x86/mc146818rtc.h b/include/asm-x86/mc146818rtc.h index 9d39436df231..cdd9f965835a 100644 --- a/include/asm-x86/mc146818rtc.h +++ b/include/asm-x86/mc146818rtc.h | |||
@@ -92,6 +92,9 @@ static inline unsigned char current_lock_cmos_reg(void) | |||
92 | unsigned char rtc_cmos_read(unsigned char addr); | 92 | unsigned char rtc_cmos_read(unsigned char addr); |
93 | void rtc_cmos_write(unsigned char val, unsigned char addr); | 93 | void rtc_cmos_write(unsigned char val, unsigned char addr); |
94 | 94 | ||
95 | extern int mach_set_rtc_mmss(unsigned long nowtime); | ||
96 | extern unsigned long mach_get_cmos_time(void); | ||
97 | |||
95 | #define RTC_IRQ 8 | 98 | #define RTC_IRQ 8 |
96 | 99 | ||
97 | #endif /* _ASM_MC146818RTC_H */ | 100 | #endif /* _ASM_MC146818RTC_H */ |