[patch] Re: how to link to hrtimers in the kernel

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Randy.Dunlap
Date: Monday, October 6, 2008 - 9:33 am

On Mon, 6 Oct 2008, George Nychis wrote:


Hi,
That function needs to be exported in its source file.
Patch below should fix it for you.



From: Randy Dunlap <randy.dunlap@oracle.com>

Export hrtimer_nanosleep() for module use.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 kernel/hrtimer.c |    1 +
 1 file changed, 1 insertion(+)

--- linux-2.6.27-rc8-git5.orig/kernel/hrtimer.c
+++ linux-2.6.27-rc8-git5/kernel/hrtimer.c
@@ -1559,6 +1559,7 @@ out:
 	destroy_hrtimer_on_stack(&t.timer);
 	return ret;
 }
+EXPORT_SYMBOL_GPL(hrtimer_nanosleep);
 
 asmlinkage long
 sys_nanosleep(struct timespec __user *rqtp, struct timespec __user *rmtp)
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
how to link to hrtimers in the kernel, George Nychis, (Mon Oct 6, 8:41 am)
[patch] Re: how to link to hrtimers in the kernel, Randy.Dunlap, (Mon Oct 6, 9:33 am)
Re: [patch] Re: how to link to hrtimers in the kernel, Thomas Gleixner, (Mon Oct 6, 9:51 am)
Re: [patch] Re: how to link to hrtimers in the kernel, George Nychis, (Mon Oct 6, 10:16 am)
Re: [patch] Re: how to link to hrtimers in the kernel, Brian Pomerantz, (Tue Oct 7, 7:55 am)