From: tip-bot for Magnus Damm <magnus.damm@gmail.com>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@redhat.com,
damm@igel.co.jp, tglx@linutronix.de, magnus.damm@gmail.com
Subject: [tip:timers/clockevents] clockevent: export register_device and delta2ns
Date: Sat, 2 May 2009 09:54:29 GMT [thread overview]
Message-ID: <tip-c81fc2c331b8514ad112054cd2d87e6ec132286b@git.kernel.org> (raw)
In-Reply-To: <20090501055247.8286.64067.sendpatchset@rx1.opensource.se>
Commit-ID: c81fc2c331b8514ad112054cd2d87e6ec132286b
Gitweb: http://git.kernel.org/tip/c81fc2c331b8514ad112054cd2d87e6ec132286b
Author: Magnus Damm <magnus.damm@gmail.com>
AuthorDate: Fri, 1 May 2009 14:52:47 +0900
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitDate: Sat, 2 May 2009 11:51:07 +0200
clockevent: export register_device and delta2ns
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
[ Impact: allow modular build of clockevent drivers ]
Signed-off-by: Magnus Damm <damm@igel.co.jp>
LKML-Reference: <20090501055247.8286.64067.sendpatchset@rx1.opensource.se>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
kernel/time/clockevents.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c
index d13be21..3948fa6 100644
--- a/kernel/time/clockevents.c
+++ b/kernel/time/clockevents.c
@@ -54,6 +54,7 @@ unsigned long clockevent_delta2ns(unsigned long latch,
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 clock_event_device *dev)
spin_unlock(&clockevents_lock);
}
+EXPORT_SYMBOL_GPL(clockevents_register_device);
/*
* Noop handler when we shut down an event device
prev parent reply other threads:[~2009-05-02 9:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-01 5:52 [PATCH] clockevent: export register_device and delta2ns Magnus Damm
2009-05-02 9:54 ` tip-bot for Magnus Damm [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tip-c81fc2c331b8514ad112054cd2d87e6ec132286b@git.kernel.org \
--to=magnus.damm@gmail.com \
--cc=damm@igel.co.jp \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox