diff options
author | Andi Kleen <ak@suse.de> | 2006-01-11 22:46:39 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-11 19:05:02 -0800 |
commit | bdf2b1c9fedf76a1797216559f221e5eaa7a1eab (patch) | |
tree | bfc206dfdf0754c6475df7bd8cffdcbec69fcd4f /arch/x86_64 | |
parent | dd52d642db8ca05267456a07a592922e8b093e1c (diff) | |
download | op-kernel-dev-bdf2b1c9fedf76a1797216559f221e5eaa7a1eab.zip op-kernel-dev-bdf2b1c9fedf76a1797216559f221e5eaa7a1eab.tar.gz |
[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/x86_64')
-rw-r--r-- | arch/x86_64/kernel/time.c | 2 | ||||
-rw-r--r-- | arch/x86_64/kernel/x8664_ksyms.c | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86_64/kernel/time.c b/arch/x86_64/kernel/time.c index 7b56aa5..966d137 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) 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 char last, this; diff --git a/arch/x86_64/kernel/x8664_ksyms.c b/arch/x86_64/kernel/x8664_ksyms.c index 901f8b0..b614d54 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; EXPORT_SYMBOL(drive_info); #endif -extern unsigned long get_cmos_time(void); - /* platform dependent support */ EXPORT_SYMBOL(boot_cpu_data); //EXPORT_SYMBOL(dump_fpu); @@ -55,7 +53,6 @@ EXPORT_SYMBOL(iounmap); EXPORT_SYMBOL(kernel_thread); EXPORT_SYMBOL(pm_idle); EXPORT_SYMBOL(pm_power_off); -EXPORT_SYMBOL(get_cmos_time); EXPORT_SYMBOL(__down_failed); EXPORT_SYMBOL(__down_failed_interruptible); |