perf/core: Make perf_swevent_init_cpu() static
authorValdis Kletnieks <valdis.kletnieks@vt.edu>
Tue, 12 Mar 2019 08:06:37 +0000 (04:06 -0400)
committerIngo Molnar <mingo@kernel.org>
Wed, 3 Apr 2019 07:52:34 +0000 (09:52 +0200)
commitd18bf4229b1772e91c0c36772737c01cf9726720
treed9b927612770492f50fea8e2b332964c81f187ff
parentf80deefa41890f9484802d7b67f11daf28055150
perf/core: Make perf_swevent_init_cpu() static

'make W=1' causes GCC to complain:

  kernel/events/core.c:11877:6: warning: no previous prototype for 'perf_swevent_init_cpu' [-Wmissing-prototypes]

It's not referenced anywhere else, make it static.

Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/28974.1552377997@turing-police
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/core.c