[RFC,PATCH 2/2] Oprofile-on-Cell prereqs: Export hrtimer_forward

Kevin Corry kevcorry at us.ibm.com
Fri Nov 10 02:02:39 EST 2006


Add a symbol-export for kernel/hrtimer.c::hrtimer_forward(). This routine
is needed by the upcoming Oprofile-for-Cell patches, since Oprofile can
be built as a module.

Signed-Off-By: Kevin Corry <kevcorry at us.ibm.com>

Index: linux-2.6.18-arnd5/kernel/hrtimer.c
===================================================================
--- linux-2.6.18-arnd5.orig/kernel/hrtimer.c
+++ linux-2.6.18-arnd5/kernel/hrtimer.c
@@ -335,6 +335,7 @@ hrtimer_forward(struct hrtimer *timer, k
 
 	return orun;
 }
+EXPORT_SYMBOL_GPL(hrtimer_forward);
 
 /*
  * enqueue_hrtimer - internal function to (re)start a timer



More information about the Linuxppc-dev mailing list