[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1282273431.16443.32.camel@minggr.sh.intel.com>
Date: Fri, 20 Aug 2010 11:03:51 +0800
From: Lin Ming <ming.m.lin@...el.com>
To: Don Zickus <dzickus@...hat.com>
Cc: lkml <linux-kernel@...r.kernel.org>,
Peter Zijlstra <peterz@...radead.org>
Subject: [PATCH] lockup_detector: Make callback function static
watchdog_overflow_callback is only used in kernel/watchdog.c.
Signed-off-by: Lin Ming <ming.m.lin@...el.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)
{
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists