]> asedeno.scripts.mit.edu Git - linux.git/commit
perf/x86/intel: Add 'static' keyword to locally used arrays
authorLukasz Odzioba <lukasz.odzioba@intel.com>
Mon, 16 May 2016 21:16:18 +0000 (23:16 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Jun 2016 07:40:17 +0000 (09:40 +0200)
commit20f362785869196fb61a76661a48321169a9046e
treea8a2d5fdbe8a722d0df3f118a86838e27d266873
parentab7fdefba68f66c8523571c3b3a940635d781824
perf/x86/intel: Add 'static' keyword to locally used arrays

Add the 'static' keyword to intel_bdw_event_constraints[], snb_events_attrs[],
nhm_events_attrs[] and intel_skl_event_constraints arrays[], because
they are only used locally.

Signed-off-by: Lukasz Odzioba <lukasz.odzioba@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Cc: akpm@linux-foundation.org
Cc: hpa@zytor.com
Cc: kan.liang@intel.com
Cc: lukasz.anaczkowski@intel.com
Cc: zheng.z.yan@intel.com
Link: http://lkml.kernel.org/r/1463433378-16816-1-git-send-email-lukasz.odzioba@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/events/intel/core.c