]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
perf/x86/intel: Constify the 'lbr_desc[]' array and make a function static
authorColin Ian King <colin.king@canonical.com>
Thu, 29 Jun 2017 09:14:06 +0000 (10:14 +0100)
committerIngo Molnar <mingo@kernel.org>
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 <colin.king@canonical.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: kernel-janitors@vger.kernel.org
Link: http://lkml.kernel.org/r/20170629091406.9870-1-colin.king@canonical.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/events/intel/lbr.c