public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [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

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