diff options
author | Lin Ming <ming.m.lin@intel.com> | 2010-08-20 11:03:51 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-08-20 10:09:41 +0200 |
commit | 277b199800ac90811ac86d215063df1984f51619 (patch) | |
tree | e828455d11b2b51c636053a6f3da4393ce3da949 /kernel/watchdog.c | |
parent | 6a103b0d44e9f97dc430002cf3ac7a7defa3819f (diff) | |
download | linux-277b199800ac90811ac86d215063df1984f51619.tar.gz linux-277b199800ac90811ac86d215063df1984f51619.tar.bz2 linux-277b199800ac90811ac86d215063df1984f51619.zip |
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/watchdog.c')
-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 = { }; /* 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) { |