Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Lin Ming and committed by
Ingo Molnar
277b1998 6a103b0d

+1 -1
+1 -1
kernel/watchdog.c
··· 202 202 }; 203 203 204 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 206 struct perf_sample_data *data, 207 207 struct pt_regs *regs) 208 208 {