perf/x86/intel: Constify the 'lbr_desc[]' array and make a function static
authorColin Ian King <[email protected]>
Thu, 29 Jun 2017 09:14:06 +0000 (10:14 +0100)
committerIngo Molnar <[email protected]>
Fri, 30 Jun 2017 07:00:56 +0000 (09:00 +0200)
commite91c8d97eac74e603481840d950536bcb62b471b
treee921e2a67949a8ecbd3bcc29597356aaffc4e0ac
parent8e70e8409102a37ab066bd91007b75fd5d113931
perf/x86/intel: Constify the 'lbr_desc[]' array and make a function static

A few minor clean-ups: constify the lbr_desc[] array and make
local function lbr_from_signext_quirk_rd() static to fix a sparse warning:

  "symbol 'lbr_from_signext_quirk_rd' was not declared. Should it be static?"

Signed-off-by: Colin Ian King <[email protected]>
Cc: Dan Carpenter <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/events/intel/lbr.c