[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-277b199800ac90811ac86d215063df1984f51619@git.kernel.org>
Date: Fri, 20 Aug 2010 12:41:02 GMT
From: tip-bot for Lin Ming <ming.m.lin@...el.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
peterz@...radead.org, ming.m.lin@...el.com, tglx@...utronix.de,
dzickus@...hat.com, mingo@...e.hu
Subject: [tip:core/locking] lockup_detector: Make callback function static
Commit-ID: 277b199800ac90811ac86d215063df1984f51619
Gitweb: http://git.kernel.org/tip/277b199800ac90811ac86d215063df1984f51619
Author: Lin Ming <ming.m.lin@...el.com>
AuthorDate: Fri, 20 Aug 2010 11:03:51 +0800
Committer: Ingo Molnar <mingo@...e.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@...el.com>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Don Zickus <dzickus@...hat.com>
LKML-Reference: <1282273431.16443.32.camel@...ggr.sh.intel.com>
Signed-off-by: Ingo Molnar <mingo@...e.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)
{
--
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