aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-01-11 16:46:39 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-11 22:05:02 -0500
commitbdf2b1c9fedf76a1797216559f221e5eaa7a1eab (patch)
treebfc206dfdf0754c6475df7bd8cffdcbec69fcd4f /arch
parentdd52d642db8ca05267456a07a592922e8b093e1c (diff)
[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: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86_64/kernel/time.c2
-rw-r--r--arch/x86_64/kernel/x8664_ksyms.c3
2 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86_64/kernel/time.c b/arch/x86_64/kernel/time.c
index 7b56aa5b6c3f..966d1376b592 100644
--- a/arch/x86_64/kernel/time.c
+++ b/arch/x86_64/kernel/time.c
@@ -502,7 +502,7 @@ unsigned long long sched_clock(void)
502 return cycles_2_ns(a); 502 return cycles_2_ns(a);
503} 503}
504 504
505unsigned long get_cmos_time(void) 505static unsigned long get_cmos_time(void)
506{ 506{
507 unsigned int timeout, year, mon, day, hour, min, sec; 507 unsigned int timeout, year, mon, day, hour, min, sec;
508 unsigned char last, this; 508 unsigned char last, this;
diff --git a/arch/x86_64/kernel/x8664_ksyms.c b/arch/x86_64/kernel/x8664_ksyms.c
index 901f8b038dc7..b614d54d2ae4 100644
--- a/arch/x86_64/kernel/x8664_ksyms.c
+++ b/arch/x86_64/kernel/x8664_ksyms.c
@@ -44,8 +44,6 @@ extern struct drive_info_struct drive_info;
44EXPORT_SYMBOL(drive_info); 44EXPORT_SYMBOL(drive_info);
45#endif 45#endif
46 46
47extern unsigned long get_cmos_time(void);
48
49/* platform dependent support */ 47/* platform dependent support */
50EXPORT_SYMBOL(boot_cpu_data); 48EXPORT_SYMBOL(boot_cpu_data);
51//EXPORT_SYMBOL(dump_fpu); 49//EXPORT_SYMBOL(dump_fpu);
@@ -55,7 +53,6 @@ EXPORT_SYMBOL(iounmap);
55EXPORT_SYMBOL(kernel_thread); 53EXPORT_SYMBOL(kernel_thread);
56EXPORT_SYMBOL(pm_idle); 54EXPORT_SYMBOL(pm_idle);
57EXPORT_SYMBOL(pm_power_off); 55EXPORT_SYMBOL(pm_power_off);
58EXPORT_SYMBOL(get_cmos_time);
59 56
60EXPORT_SYMBOL(__down_failed); 57EXPORT_SYMBOL(__down_failed);
61EXPORT_SYMBOL(__down_failed_interruptible); 58EXPORT_SYMBOL(__down_failed_interruptible);