lockup_detector: Make callback function static
authorLin Ming <ming.m.lin@intel.com>
Fri, 20 Aug 2010 03:03:51 +0000 (11:03 +0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 20 Aug 2010 08:09:41 +0000 (10:09 +0200)
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>
kernel/watchdog.c

index 613bc1f..b60e2a8 100644 (file)
@@ -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)
 {