]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86: Mark various structures and functions as 'static'
authorColin Ian King <colin.king@canonical.com>
Thu, 10 Aug 2017 15:57:09 +0000 (16:57 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 11 Aug 2017 12:49:43 +0000 (14:49 +0200)
commitb45e4c45b13275a6b4a3f83ae8301a1963fbe5d0
tree35da347a485d1d205639ab2570c06807280b99cc
parent5442c26995527245c94c4a49e535eae8a60a5299
x86: Mark various structures and functions as 'static'

Mark a couple of structures and functions as 'static', pointed out by Sparse:

  warning: symbol 'bts_pmu' was not declared. Should it be static?
  warning: symbol 'p4_event_aliases' was not declared. Should it be static?
  warning: symbol 'rapl_attr_groups' was not declared. Should it be static?
  symbol 'process_uv2_message' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Andrew Banman <abanman@hpe.com> # for the UV change
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will.deacon@arm.com>
Cc: kernel-janitors@vger.kernel.org
Link: http://lkml.kernel.org/r/20170810155709.7094-1-colin.king@canonical.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/events/intel/bts.c
arch/x86/events/intel/p4.c
arch/x86/events/intel/rapl.c
arch/x86/platform/uv/tlb_uv.c