diff options
author | Lin Ming <ming.m.lin@intel.com> | 2010-08-19 23:03:51 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-08-20 04:09:41 -0400 |
commit | 277b199800ac90811ac86d215063df1984f51619 (patch) | |
tree | e828455d11b2b51c636053a6f3da4393ce3da949 /kernel | |
parent | 6a103b0d44e9f97dc430002cf3ac7a7defa3819f (diff) |
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>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/watchdog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/watchdog.c b/kernel/watchdog.c index 613bc1f04610..b60e2a869bba 100644 --- a/kernel/watchdog.c +++ b/kernel/watchdog.c | |||
@@ -202,7 +202,7 @@ static struct perf_event_attr wd_hw_attr = { | |||
202 | }; | 202 | }; |
203 | 203 | ||
204 | /* Callback function for perf event subsystem */ | 204 | /* Callback function for perf event subsystem */ |
205 | void watchdog_overflow_callback(struct perf_event *event, int nmi, | 205 | static void watchdog_overflow_callback(struct perf_event *event, int nmi, |
206 | struct perf_sample_data *data, | 206 | struct perf_sample_data *data, |
207 | struct pt_regs *regs) | 207 | struct pt_regs *regs) |
208 | { | 208 | { |