]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] x86_64: No need to export get_cmos_time anymore
authorAndi Kleen <ak@suse.de>
Wed, 11 Jan 2006 21:46:39 +0000 (22:46 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 03:05:02 +0000 (19:05 -0800)
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>
arch/x86_64/kernel/time.c
arch/x86_64/kernel/x8664_ksyms.c

index 7b56aa5b6c3ff3a58405af35ad3cea3fc40a488b..966d1376b592208f8670f420b08c170fefeb7ec3 100644 (file)
@@ -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;
index 901f8b038dc7765330e40bd8174b09c5c7dc55e1..b614d54d2ae46f2f1b02a410117740698c4aa4f8 100644 (file)
@@ -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);