[2.6 patch] deprecate EXPORT_SYMBOL(do_settimeofday)

From: Adrian Bunk
Date: Sat Feb 26 2005 - 08:34:52 EST


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.11-rc4-mm1-full/Documentation/feature-removal-schedule.txt.old 2005-02-26 12:24:43.000000000 +0100
+++ linux-2.6.11-rc4-mm1-full/Documentation/feature-removal-schedule.txt 2005-02-26 12:27:18.000000000 +0100
@@ -32,3 +32,10 @@
/sys/devices/system/cpu/cpu%n/cpufreq/.
Who: Dominik Brodowski <linux@xxxxxxxx>

+---------------------------
+
+What: EXPORT_SYMBOL(do_settimeofday)
+When: 26 Aug 2005
+Files: arch/*/kernel/time.c
+Why: not used in the kernel
+Who: Adrian Bunk <bunk@xxxxxxxxx>
--- linux-2.6.11-rc4-mm1-full/include/linux/time.h.old 2005-02-26 12:24:03.000000000 +0100
+++ linux-2.6.11-rc4-mm1-full/include/linux/time.h 2005-02-26 12:24:31.000000000 +0100
@@ -93,7 +93,7 @@
#define CURRENT_TIME_SEC ((struct timespec) { xtime.tv_sec, 0 })

extern void do_gettimeofday(struct timeval *tv);
-extern int do_settimeofday(struct timespec *tv);
+extern int __deprecated_in_modules do_settimeofday(struct timespec *tv);
extern int do_sys_settimeofday(struct timespec *tv, struct timezone *tz);
extern void clock_was_set(void); // call when ever the clock is set
extern int do_posix_clock_monotonic_gettime(struct timespec *tp);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/