perf/core, perf/x86: Change needlessly global functions and a variable to static
authorGeliang Tang <geliangtang@163.com>
Sun, 27 Sep 2015 15:25:50 +0000 (23:25 +0800)
committerIngo Molnar <mingo@kernel.org>
Mon, 28 Sep 2015 06:09:52 +0000 (08:09 +0200)
commit18ab2cd3ee9d52dc64c5ae984146a261a328c4e8
treebc9745194ff05c72d917126797c39004a8161010
parent6afc0c269c3d20cde05515b00ede00e91fee0be5
perf/core, perf/x86: Change needlessly global functions and a variable to static

Fixes various sparse warnings.

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/70c14234da1bed6e3e67b9c419e2d5e376ab4f32.1443367286.git.geliangtang@163.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/intel_cacheinfo.c
kernel/events/core.c