diff options
| author | Christoph Lameter <clameter@sgi.com> | 2005-03-28 03:56:15 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-03-28 03:56:15 -0800 |
| commit | 9026dff22e10aeae3be3d682d49b956fef0f3bab (patch) | |
| tree | 1764c41ce186dcfdc8332375379b905a3509841b /kernel/time.c | |
| parent | d3b86557bea3cf1cccaa82f9b50762035b80b857 (diff) | |
[PATCH] Exports to enable clock driver modules
The following exports are necessary to allow loadable modules to define new
clocks. Without these the mmtimer driver cannot be build correctly as a
module (there is another mmtimer specific fix necessary to get it to build
properly but that will be a separate patch):
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/time.c')
| -rw-r--r-- | kernel/time.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/time.c b/kernel/time.c index 2c0b90d79d4c..96fd0f499631 100644 --- a/kernel/time.c +++ b/kernel/time.c @@ -34,6 +34,7 @@ #include <linux/syscalls.h> #include <linux/security.h> #include <linux/fs.h> +#include <linux/module.h> #include <asm/uaccess.h> #include <asm/unistd.h> @@ -503,6 +504,7 @@ void getnstimeofday (struct timespec *tv) tv->tv_sec = sec; tv->tv_nsec = nsec; } +EXPORT_SYMBOL_GPL(getnstimeofday); int do_settimeofday (struct timespec *tv) { |
