提交 bdf2b1c9 编写于 作者: A Andi Kleen 提交者: Linus Torvalds

[PATCH] x86_64: No need to export get_cmos_time anymore

It was only needed for APM

Pointed out by Jan Beulich

Cc: jbeulich@novell.com
Signed-off-by: NAndi Kleen <ak@suse.de>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 dd52d642
...@@ -502,7 +502,7 @@ unsigned long long sched_clock(void) ...@@ -502,7 +502,7 @@ unsigned long long sched_clock(void)
return cycles_2_ns(a); return cycles_2_ns(a);
} }
unsigned long get_cmos_time(void) static unsigned long get_cmos_time(void)
{ {
unsigned int timeout, year, mon, day, hour, min, sec; unsigned int timeout, year, mon, day, hour, min, sec;
unsigned char last, this; unsigned char last, this;
......
...@@ -44,8 +44,6 @@ extern struct drive_info_struct drive_info; ...@@ -44,8 +44,6 @@ extern struct drive_info_struct drive_info;
EXPORT_SYMBOL(drive_info); EXPORT_SYMBOL(drive_info);
#endif #endif
extern unsigned long get_cmos_time(void);
/* platform dependent support */ /* platform dependent support */
EXPORT_SYMBOL(boot_cpu_data); EXPORT_SYMBOL(boot_cpu_data);
//EXPORT_SYMBOL(dump_fpu); //EXPORT_SYMBOL(dump_fpu);
...@@ -55,7 +53,6 @@ EXPORT_SYMBOL(iounmap); ...@@ -55,7 +53,6 @@ EXPORT_SYMBOL(iounmap);
EXPORT_SYMBOL(kernel_thread); EXPORT_SYMBOL(kernel_thread);
EXPORT_SYMBOL(pm_idle); EXPORT_SYMBOL(pm_idle);
EXPORT_SYMBOL(pm_power_off); EXPORT_SYMBOL(pm_power_off);
EXPORT_SYMBOL(get_cmos_time);
EXPORT_SYMBOL(__down_failed); EXPORT_SYMBOL(__down_failed);
EXPORT_SYMBOL(__down_failed_interruptible); EXPORT_SYMBOL(__down_failed_interruptible);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册