]> git.baikalelectronics.ru Git - kernel.git/commit
perf/x86: Change test_aperfmperf() and test_intel() to static
authorGeliang Tang <geliangtang@163.com>
Thu, 24 Sep 2015 11:48:53 +0000 (04:48 -0700)
committerIngo Molnar <mingo@kernel.org>
Fri, 25 Sep 2015 07:42:40 +0000 (09:42 +0200)
commitdafb940d2d3ce4e9bf1dff950363c7da72cdbae4
tree967d29db73349f021e2fdb41e918fb9f9dcd0fc4
parentf2581ee078639561f72f899f22c137462b347112
perf/x86: Change test_aperfmperf() and test_intel() to static

Fixes the following sparse warnings:

 arch/x86/kernel/cpu/perf_event_msr.c:13:6: warning: symbol
 'test_aperfmperf' was not declared. Should it be static?

 arch/x86/kernel/cpu/perf_event_msr.c:18:6: warning: symbol
 'test_intel' was not declared. Should it be static?

Signed-off-by: Geliang Tang <geliangtang@163.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/4588e8ab09638458f2451af572827108be3b4a36.1443123796.git.geliangtang@163.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_msr.c