From: tip-bot for Magnus Damm <magnus.damm@gmail.com>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, horms@verge.net.au, hpa@zytor.com,
mingo@kernel.org, damm@opensource.se, tglx@linutronix.de,
magnus.damm@gmail.com
Subject: [tip:timers/core] clockevents: Make clockevents_config() a global symbol
Date: Thu, 24 May 2012 16:53:33 -0700 [thread overview]
Message-ID: <tip-e5400321a6f15ce0fe77c8455954f213ef7dcc54@git.kernel.org> (raw)
In-Reply-To: <20120509143934.27521.46553.sendpatchset@w520>
Commit-ID: e5400321a6f15ce0fe77c8455954f213ef7dcc54
Gitweb: http://git.kernel.org/tip/e5400321a6f15ce0fe77c8455954f213ef7dcc54
Author: Magnus Damm <magnus.damm@gmail.com>
AuthorDate: Wed, 9 May 2012 23:39:34 +0900
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitDate: Fri, 25 May 2012 01:44:51 +0200
clockevents: Make clockevents_config() a global symbol
Make clockevents_config() into a global symbol to allow it to be used
by compiled-in clockevent drivers. This is needed by drivers that want
to update the timer frequency after registration time.
Signed-off-by: Magnus Damm <damm@opensource.se>
Tested-by: Simon Horman <horms@verge.net.au>
Cc: arnd@arndb.de
Cc: johnstul@us.ibm.com
Cc: rjw@sisk.pl
Cc: lethal@linux-sh.org
Cc: gregkh@linuxfoundation.org
Cc: olof@lixom.net
Cc: Magnus Damm <magnus.damm@gmail.com>
Link: http://lkml.kernel.org/r/20120509143934.27521.46553.sendpatchset@w520
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
include/linux/clockchips.h | 1 +
kernel/time/clockevents.c | 3 +--
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/clockchips.h b/include/linux/clockchips.h
index 81e803e..acba8943 100644
--- a/include/linux/clockchips.h
+++ b/include/linux/clockchips.h
@@ -132,6 +132,7 @@ extern u64 clockevent_delta2ns(unsigned long latch,
struct clock_event_device *evt);
extern void clockevents_register_device(struct clock_event_device *dev);
+extern void clockevents_config(struct clock_event_device *dev, u32 freq);
extern void clockevents_config_and_register(struct clock_event_device *dev,
u32 freq, unsigned long min_delta,
unsigned long max_delta);
diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c
index 9cd928f..7e1ce01 100644
--- a/kernel/time/clockevents.c
+++ b/kernel/time/clockevents.c
@@ -297,8 +297,7 @@ void clockevents_register_device(struct clock_event_device *dev)
}
EXPORT_SYMBOL_GPL(clockevents_register_device);
-static void clockevents_config(struct clock_event_device *dev,
- u32 freq)
+void clockevents_config(struct clock_event_device *dev, u32 freq)
{
u64 sec;
next prev parent reply other threads:[~2012-05-24 23:53 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-09 14:39 [PATCH 00/03] clocksource: Emma Mobile STI V2 patches Magnus Damm
2012-05-09 14:39 ` Magnus Damm
2012-05-09 14:39 ` [PATCH 01/03] clockevents: Make clockevents_config() a global symbol Magnus Damm
2012-05-09 14:39 ` Magnus Damm
2012-05-23 6:32 ` Paul Mundt
2012-05-23 6:32 ` Paul Mundt
2012-05-23 7:15 ` Magnus Damm
2012-05-23 7:15 ` Magnus Damm
2012-05-24 10:27 ` Thomas Gleixner
2012-05-24 10:27 ` Thomas Gleixner
2012-05-24 10:28 ` Thomas Gleixner
2012-05-24 10:28 ` Thomas Gleixner
2012-05-24 23:53 ` tip-bot for Magnus Damm [this message]
2012-05-09 14:39 ` [PATCH 02/03] clocksource: em_sti: Emma Mobile STI driver V2 Magnus Damm
2012-05-09 14:39 ` Magnus Damm
2012-05-24 23:42 ` Thomas Gleixner
2012-05-24 23:42 ` Thomas Gleixner
2012-05-25 3:39 ` Magnus Damm
2012-05-25 3:39 ` Magnus Damm
2012-05-09 14:39 ` [PATCH 03/03] clocksource: em_sti: Add DT support Magnus Damm
2012-05-09 14:39 ` Magnus Damm
2012-05-25 9:39 ` [tip:timers/core] " tip-bot for Magnus Damm
2012-05-11 6:55 ` [PATCH 00/03] clocksource: Emma Mobile STI V2 patches Simon Horman
2012-05-11 6:55 ` Simon Horman
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-e5400321a6f15ce0fe77c8455954f213ef7dcc54@git.kernel.org \
--to=magnus.damm@gmail.com \
--cc=damm@opensource.se \
--cc=horms@verge.net.au \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@kernel.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.