* [PATCH] lockup_detector: Make callback function static
@ 2010-08-20 3:03 Lin Ming
2010-08-20 12:19 ` Don Zickus
2010-08-20 12:41 ` [tip:core/locking] " tip-bot for Lin Ming
0 siblings, 2 replies; 3+ messages in thread
From: Lin Ming @ 2010-08-20 3:03 UTC (permalink / raw)
To: Don Zickus; +Cc: lkml, Peter Zijlstra
watchdog_overflow_callback is only used in kernel/watchdog.c.
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
---
kernel/watchdog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/watchdog.c b/kernel/watchdog.c
index 613bc1f..b60e2a8 100644
--- a/kernel/watchdog.c
+++ b/kernel/watchdog.c
@@ -202,7 +202,7 @@ static struct perf_event_attr wd_hw_attr = {
};
/* Callback function for perf event subsystem */
-void watchdog_overflow_callback(struct perf_event *event, int nmi,
+static void watchdog_overflow_callback(struct perf_event *event, int nmi,
struct perf_sample_data *data,
struct pt_regs *regs)
{
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] lockup_detector: Make callback function static
2010-08-20 3:03 [PATCH] lockup_detector: Make callback function static Lin Ming
@ 2010-08-20 12:19 ` Don Zickus
2010-08-20 12:41 ` [tip:core/locking] " tip-bot for Lin Ming
1 sibling, 0 replies; 3+ messages in thread
From: Don Zickus @ 2010-08-20 12:19 UTC (permalink / raw)
To: Lin Ming; +Cc: lkml, Peter Zijlstra
On Fri, Aug 20, 2010 at 11:03:51AM +0800, Lin Ming wrote:
> watchdog_overflow_callback is only used in kernel/watchdog.c.
Acked-by: Don Zickus <dzickus@redhat.com>
>
> Signed-off-by: Lin Ming <ming.m.lin@intel.com>
> ---
> kernel/watchdog.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/kernel/watchdog.c b/kernel/watchdog.c
> index 613bc1f..b60e2a8 100644
> --- a/kernel/watchdog.c
> +++ b/kernel/watchdog.c
> @@ -202,7 +202,7 @@ static struct perf_event_attr wd_hw_attr = {
> };
>
> /* Callback function for perf event subsystem */
> -void watchdog_overflow_callback(struct perf_event *event, int nmi,
> +static void watchdog_overflow_callback(struct perf_event *event, int nmi,
> struct perf_sample_data *data,
> struct pt_regs *regs)
> {
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread* [tip:core/locking] lockup_detector: Make callback function static
2010-08-20 3:03 [PATCH] lockup_detector: Make callback function static Lin Ming
2010-08-20 12:19 ` Don Zickus
@ 2010-08-20 12:41 ` tip-bot for Lin Ming
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Lin Ming @ 2010-08-20 12:41 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, hpa, mingo, peterz, ming.m.lin, tglx, dzickus,
mingo
Commit-ID: 277b199800ac90811ac86d215063df1984f51619
Gitweb: http://git.kernel.org/tip/277b199800ac90811ac86d215063df1984f51619
Author: Lin Ming <ming.m.lin@intel.com>
AuthorDate: Fri, 20 Aug 2010 11:03:51 +0800
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 20 Aug 2010 10:09:41 +0200
lockup_detector: Make callback function static
watchdog_overflow_callback() is only used in kernel/watchdog.c.
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Don Zickus <dzickus@redhat.com>
LKML-Reference: <1282273431.16443.32.camel@minggr.sh.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
kernel/watchdog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/watchdog.c b/kernel/watchdog.c
index 613bc1f..b60e2a8 100644
--- a/kernel/watchdog.c
+++ b/kernel/watchdog.c
@@ -202,7 +202,7 @@ static struct perf_event_attr wd_hw_attr = {
};
/* Callback function for perf event subsystem */
-void watchdog_overflow_callback(struct perf_event *event, int nmi,
+static void watchdog_overflow_callback(struct perf_event *event, int nmi,
struct perf_sample_data *data,
struct pt_regs *regs)
{
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-08-20 12:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-20 3:03 [PATCH] lockup_detector: Make callback function static Lin Ming
2010-08-20 12:19 ` Don Zickus
2010-08-20 12:41 ` [tip:core/locking] " tip-bot for Lin Ming
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox