summaryrefslogtreecommitdiff
path: root/kernel/timer.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@conectiva.com.br>2003-10-07 17:54:04 -0300
committerLinus Torvalds <torvalds@home.osdl.org>2003-10-07 17:54:04 -0300
commitff08f6fe935ff0854990421e80d04c39c7c2a15a (patch)
tree18d34e97be191d24a895e91e8c638bb190f9d247 /kernel/timer.c
parent500ae9b0021e303de56aa929df3de071d9b629c2 (diff)
o kernel/ksyms.c: move remaining EXPORT_SYMBOLs, remove this file from the tree
Diffstat (limited to 'kernel/timer.c')
-rw-r--r--kernel/timer.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/kernel/timer.c b/kernel/timer.c
index 2c8d770c5876..176d2c3215b4 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -20,6 +20,7 @@
*/
#include <linux/kernel_stat.h>
+#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/percpu.h>
#include <linux/init.h>
@@ -207,6 +208,8 @@ repeat:
return ret;
}
+EXPORT_SYMBOL(__mod_timer);
+
/***
* add_timer_on - start a timer on a particular CPU
* @timer: the timer to be added
@@ -265,6 +268,8 @@ int mod_timer(struct timer_list *timer, unsigned long expires)
return __mod_timer(timer, expires);
}
+EXPORT_SYMBOL(mod_timer);
+
/***
* del_timer - deactive a timer.
* @timer: the timer to be deactivated
@@ -299,6 +304,8 @@ repeat:
return 1;
}
+EXPORT_SYMBOL(del_timer);
+
#ifdef CONFIG_SMP
/***
* del_timer_sync - deactivate a timer and wait for the handler to finish.
@@ -344,8 +351,9 @@ del_again:
return ret;
}
-#endif
+EXPORT_SYMBOL(del_timer_sync);
+#endif
static int cascade(tvec_base_t *base, tvec_t *tv, int index)
{
@@ -441,6 +449,8 @@ unsigned long tick_nsec = TICK_NSEC; /* ACTHZ period (nsec) */
struct timespec xtime __attribute__ ((aligned (16)));
struct timespec wall_to_monotonic __attribute__ ((aligned (16)));
+EXPORT_SYMBOL(xtime);
+
/* Don't completely fail for HZ > 500. */
int tickadj = 500/HZ ? : 1; /* microsecs */
@@ -779,6 +789,8 @@ unsigned long wall_jiffies = INITIAL_JIFFIES;
*/
#ifndef ARCH_HAVE_XTIME_LOCK
seqlock_t xtime_lock __cacheline_aligned_in_smp = SEQLOCK_UNLOCKED;
+
+EXPORT_SYMBOL(xtime_lock);
#endif
/*
@@ -1032,6 +1044,8 @@ signed long schedule_timeout(signed long timeout)
return timeout < 0 ? 0 : timeout;
}
+EXPORT_SYMBOL(schedule_timeout);
+
/* Thread ID - the internal kernel "pid" */
asmlinkage long sys_gettid(void)
{