public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clockevent: export register_device and delta2ns
@ 2009-05-01  5:52 Magnus Damm
  2009-05-02  9:54 ` [tip:timers/clockevents] " tip-bot for Magnus Damm
  0 siblings, 1 reply; 2+ messages in thread
From: Magnus Damm @ 2009-05-01  5:52 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, johnstul, lethal, tglx, Magnus Damm, mingo

From: Magnus Damm <damm@igel.co.jp>

Export the following symbols using EXPORT_SYMBOL_GPL:
 - clockevent_delta2ns
 - clockevents_register_device

This allows us to build SuperH clockevent and clocksource
drivers as modules, see drivers/clocksource/sh_*.c

Signed-off-by: Magnus Damm <damm@igel.co.jp>
---

 kernel/time/clockevents.c |    2 ++
 1 file changed, 2 insertions(+)

--- 0001/kernel/time/clockevents.c
+++ work/kernel/time/clockevents.c	2009-05-01 13:11:51.000000000 +0900
@@ -54,6 +54,7 @@ unsigned long clockevent_delta2ns(unsign
 
 	return (unsigned long) clc;
 }
+EXPORT_SYMBOL_GPL(clockevent_delta2ns);
 
 /**
  * clockevents_set_mode - set the operating mode of a clock event device
@@ -187,6 +188,7 @@ void clockevents_register_device(struct 
 
 	spin_unlock(&clockevents_lock);
 }
+EXPORT_SYMBOL_GPL(clockevents_register_device);
 
 /*
  * Noop handler when we shut down an event device

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

end of thread, other threads:[~2009-05-02  9:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-01  5:52 [PATCH] clockevent: export register_device and delta2ns Magnus Damm
2009-05-02  9:54 ` [tip:timers/clockevents] " tip-bot for Magnus Damm

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