public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] unexport do_settimeofday
@ 2005-02-24 23:37 Adrian Bunk
  2005-02-25  5:24 ` Andrew Morton
  0 siblings, 1 reply; 27+ messages in thread
From: Adrian Bunk @ 2005-02-24 23:37 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

I haven't found any possible modular usage of do_settimeofday in the 
kernel.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 20 Jan 2005

 arch/alpha/kernel/time.c     |    2 --
 arch/arm/kernel/time.c       |    2 --
 arch/arm26/kernel/time.c     |    2 --
 arch/cris/kernel/time.c      |    2 --
 arch/h8300/kernel/time.c     |    2 --
 arch/i386/kernel/time.c      |    2 --
 arch/m32r/kernel/time.c      |    2 --
 arch/m68k/kernel/time.c      |    2 --
 arch/m68knommu/kernel/time.c |    1 -
 arch/mips/dec/time.c         |    2 --
 arch/mips/kernel/time.c      |    2 --
 arch/parisc/kernel/time.c    |    1 -
 arch/ppc/kernel/time.c       |    2 --
 arch/ppc64/kernel/time.c     |    2 --
 arch/s390/kernel/time.c      |    2 --
 arch/sh/kernel/time.c        |    2 --
 arch/sparc/kernel/time.c     |    2 --
 arch/um/kernel/ksyms.c       |    1 -
 arch/v850/kernel/time.c      |    2 --
 arch/x86_64/kernel/time.c    |    2 --
 20 files changed, 37 deletions(-)

--- linux-2.6.11-rc1-mm2-full/arch/i386/kernel/time.c.old	2005-01-20 18:52:12.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/i386/kernel/time.c	2005-01-20 18:52:27.000000000 +0100
@@ -169,8 +169,6 @@
 	return 0;
 }
 
-EXPORT_SYMBOL(do_settimeofday);
-
 static int set_rtc_mmss(unsigned long nowtime)
 {
 	int retval;
--- linux-2.6.11-rc1-mm2-full/arch/arm/kernel/time.c.old	2005-01-20 18:52:46.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/arm/kernel/time.c	2005-01-20 18:52:51.000000000 +0100
@@ -301,8 +301,6 @@
 	return 0;
 }
 
-EXPORT_SYMBOL(do_settimeofday);
-
 /**
  * save_time_delta - Save the offset between system time and RTC time
  * @delta: pointer to timespec to store delta
--- linux-2.6.11-rc1-mm2-full/arch/sparc/kernel/time.c.old	2005-01-20 18:52:59.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/sparc/kernel/time.c	2005-01-20 18:53:03.000000000 +0100
@@ -530,8 +530,6 @@
 	return ret;
 }
 
-EXPORT_SYMBOL(do_settimeofday);
-
 static int sbus_do_settimeofday(struct timespec *tv)
 {
 	time_t wtm_sec, sec = tv->tv_sec;
--- linux-2.6.11-rc1-mm2-full/arch/ppc/kernel/time.c.old	2005-01-20 18:53:11.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/ppc/kernel/time.c	2005-01-20 18:53:15.000000000 +0100
@@ -285,8 +285,6 @@
 	return 0;
 }
 
-EXPORT_SYMBOL(do_settimeofday);
-
 /* This function is only called on the boot processor */
 void __init time_init(void)
 {
--- linux-2.6.11-rc1-mm2-full/arch/mips/dec/time.c.old	2005-01-20 18:53:21.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/mips/dec/time.c	2005-01-20 18:53:25.000000000 +0100
@@ -189,8 +189,6 @@
 	CMOS_WRITE(RTC_REF_CLCK_32KHZ | (16 - LOG_2_HZ), RTC_REG_A);
 }
 
-EXPORT_SYMBOL(do_settimeofday);
-
 void __init dec_timer_setup(struct irqaction *irq)
 {
 	setup_irq(dec_interrupt[DEC_IRQ_RTC], irq);
--- linux-2.6.11-rc1-mm2-full/arch/mips/kernel/time.c.old	2005-01-20 18:53:32.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/mips/kernel/time.c	2005-01-20 18:53:36.000000000 +0100
@@ -234,8 +234,6 @@
 	return 0;
 }
 
-EXPORT_SYMBOL(do_settimeofday);
-
 /*
  * Gettimeoffset routines.  These routines returns the time duration
  * since last timer interrupt in usecs.
--- linux-2.6.11-rc1-mm2-full/arch/m68knommu/kernel/time.c.old	2005-01-20 18:53:43.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/m68knommu/kernel/time.c	2005-01-20 18:53:47.000000000 +0100
@@ -195,4 +195,3 @@
 	return (unsigned long long)jiffies * (1000000000 / HZ);
 }
 
-EXPORT_SYMBOL(do_settimeofday);
--- linux-2.6.11-rc1-mm2-full/arch/sh/kernel/time.c.old	2005-01-20 18:53:54.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/sh/kernel/time.c	2005-01-20 18:53:58.000000000 +0100
@@ -254,8 +254,6 @@
 	return 0;
 }
 
-EXPORT_SYMBOL(do_settimeofday);
-
 /* last time the RTC clock got updated */
 static long last_rtc_update;
 
--- linux-2.6.11-rc1-mm2-full/arch/cris/kernel/time.c.old	2005-01-20 18:54:05.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/cris/kernel/time.c	2005-01-20 18:54:11.000000000 +0100
@@ -122,8 +122,6 @@
 	return 0;
 }
 
-EXPORT_SYMBOL(do_settimeofday);
-
 
 /*
  * BUG: This routine does not handle hour overflow properly; it just
--- linux-2.6.11-rc1-mm2-full/arch/arm26/kernel/time.c.old	2005-01-20 18:54:18.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/arm26/kernel/time.c	2005-01-20 18:54:22.000000000 +0100
@@ -198,8 +198,6 @@
 	return 0;
 }
 
-EXPORT_SYMBOL(do_settimeofday);
-
 static irqreturn_t timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
 {
         do_timer(regs);
--- linux-2.6.11-rc1-mm2-full/arch/m68k/kernel/time.c.old	2005-01-20 18:54:29.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/m68k/kernel/time.c	2005-01-20 18:54:32.000000000 +0100
@@ -175,8 +175,6 @@
 	return 0;
 }
 
-EXPORT_SYMBOL(do_settimeofday);
-
 /*
  * Scheduler clock - returns current time in ns units.
  */
--- linux-2.6.11-rc1-mm2-full/arch/alpha/kernel/time.c.old	2005-01-20 18:54:44.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/alpha/kernel/time.c	2005-01-20 18:54:48.000000000 +0100
@@ -512,8 +512,6 @@
 	return 0;
 }
 
-EXPORT_SYMBOL(do_settimeofday);
-
 
 /*
  * In order to set the CMOS clock precisely, set_rtc_mmss has to be
--- linux-2.6.11-rc1-mm2-full/arch/ppc64/kernel/time.c.old	2005-01-20 18:54:56.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/ppc64/kernel/time.c	2005-01-20 18:54:59.000000000 +0100
@@ -424,8 +424,6 @@
 	return 0;
 }
 
-EXPORT_SYMBOL(do_settimeofday);
-
 void __init time_init(void)
 {
 	/* This function is only called on the boot processor */
--- linux-2.6.11-rc1-mm2-full/arch/um/kernel/ksyms.c.old	2005-01-20 18:55:07.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/um/kernel/ksyms.c	2005-01-20 18:55:11.000000000 +0100
@@ -95,7 +95,6 @@
 EXPORT_SYMBOL(dump_thread);
 
 EXPORT_SYMBOL(do_gettimeofday);
-EXPORT_SYMBOL(do_settimeofday);
 
 /* This is here because UML expands open to sys_open, not to a system
  * call instruction.
--- linux-2.6.11-rc1-mm2-full/arch/parisc/kernel/time.c.old	2005-01-20 18:55:19.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/parisc/kernel/time.c	2005-01-20 18:55:23.000000000 +0100
@@ -197,7 +197,6 @@
 	clock_was_set();
 	return 0;
 }
-EXPORT_SYMBOL(do_settimeofday);
 
 /*
  * XXX: We can do better than this.
--- linux-2.6.11-rc1-mm2-full/arch/h8300/kernel/time.c.old	2005-01-20 18:55:33.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/h8300/kernel/time.c	2005-01-20 18:55:37.000000000 +0100
@@ -125,8 +125,6 @@
 	return 0;
 }
 
-EXPORT_SYMBOL(do_settimeofday);
-
 unsigned long long sched_clock(void)
 {
 	return (unsigned long long)jiffies * (1000000000 / HZ);
--- linux-2.6.11-rc1-mm2-full/arch/m32r/kernel/time.c.old	2005-01-20 18:55:46.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/m32r/kernel/time.c	2005-01-20 18:55:50.000000000 +0100
@@ -181,8 +181,6 @@
 	return 0;
 }
 
-EXPORT_SYMBOL(do_settimeofday);
-
 /*
  * In order to set the CMOS clock precisely, set_rtc_mmss has to be
  * called 500 ms after the second nowtime has started, because when
--- linux-2.6.11-rc1-mm2-full/arch/x86_64/kernel/time.c.old	2005-01-20 18:55:59.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/x86_64/kernel/time.c	2005-01-20 18:56:02.000000000 +0100
@@ -179,8 +179,6 @@
 	return 0;
 }
 
-EXPORT_SYMBOL(do_settimeofday);
-
 unsigned long profile_pc(struct pt_regs *regs)
 {
 	unsigned long pc = instruction_pointer(regs);
--- linux-2.6.11-rc1-mm2-full/arch/s390/kernel/time.c.old	2005-01-20 18:56:11.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/s390/kernel/time.c	2005-01-20 18:56:15.000000000 +0100
@@ -148,8 +148,6 @@
 	return 0;
 }
 
-EXPORT_SYMBOL(do_settimeofday);
-
 
 #ifdef CONFIG_PROFILING
 #define s390_do_profile(regs)	profile_tick(CPU_PROFILING, regs)
--- linux-2.6.11-rc1-mm2-full/arch/v850/kernel/time.c.old	2005-01-20 18:56:22.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/v850/kernel/time.c	2005-01-20 18:56:26.000000000 +0100
@@ -179,8 +179,6 @@
 	return 0;
 }
 
-EXPORT_SYMBOL(do_settimeofday);
-
 static int timer_dev_id;
 static struct irqaction timer_irqaction = {
 	timer_interrupt,


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2005-02-27 22:44 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-24 23:37 [2.6 patch] unexport do_settimeofday Adrian Bunk
2005-02-25  5:24 ` Andrew Morton
2005-02-25  8:02   ` Arjan van de Ven
2005-02-25  8:28     ` Andrew Morton
2005-02-25  8:47       ` Bartlomiej Zolnierkiewicz
2005-02-25  9:26         ` Andreas Dilger
2005-02-25  9:33           ` Arjan van de Ven
2005-02-25  9:46             ` Andrew Morton
2005-02-27 22:44       ` Christoph Hellwig
2005-02-25 21:43   ` Adrian Bunk
2005-02-25 21:55     ` Andrew Morton
2005-02-25 23:02       ` Adrian Bunk
2005-02-25 23:20         ` Andrew Morton
2005-02-26 10:01           ` Arjan van de Ven
2005-02-26 15:28             ` Adrian Bunk
2005-02-26 15:22           ` Adrian Bunk
2005-02-26 13:33   ` [2.6 patch] deprecate EXPORT_SYMBOL(do_settimeofday) Adrian Bunk
2005-02-26 13:37     ` YOSHIFUJI Hideaki / 吉藤英明
2005-02-26 13:38       ` YOSHIFUJI Hideaki / 吉藤英明
2005-02-26 14:46     ` Russell King
2005-02-26 16:23       ` Adrian Bunk
2005-02-26 16:46         ` Russell King
2005-02-26 17:13           ` Adrian Bunk
2005-02-26 17:20             ` Russell King
2005-02-27  0:28               ` Adrian Bunk
2005-02-26 17:29             ` Russell King
2005-02-27  0:43               ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox