aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-10-02 10:59:31 -0400
committerThomas Gleixner <tglx@linutronix.de>2017-10-05 07:20:32 -0400
commit5fd88b60e11b7d81b2c944c1b45834c4a6aa0157 (patch)
tree41db532360bcf6f334695e7f7d141e9d12177eea
parent165d3ad884df4b30c3564a478b457b499345886f (diff)
x86/intel_rdt/cqm: Make integer rmid_limbo_count static
rmid_limbo_count is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol 'rmid_limbo_count' was not declared. Should it be static? Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Fenghua Yu <fenghua.yu@intel.com> Cc: kernel-janitors@vger.kernel.org Link: https://lkml.kernel.org/r/20171002145931.27479-1-colin.king@canonical.com
-rw-r--r--arch/x86/kernel/cpu/intel_rdt_monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/intel_rdt_monitor.c b/arch/x86/kernel/cpu/intel_rdt_monitor.c
index 30827510094b..681450eee428 100644
--- a/arch/x86/kernel/cpu/intel_rdt_monitor.c
+++ b/arch/x86/kernel/cpu/intel_rdt_monitor.c
@@ -51,7 +51,7 @@ static LIST_HEAD(rmid_free_lru);
51 * may have a occupancy value > intel_cqm_threshold. User can change 51 * may have a occupancy value > intel_cqm_threshold. User can change
52 * the threshold occupancy value. 52 * the threshold occupancy value.
53 */ 53 */
54unsigned int rmid_limbo_count; 54static unsigned int rmid_limbo_count;
55 55
56/** 56/**
57 * @rmid_entry - The entry in the limbo and free lists. 57 * @rmid_entry - The entry in the limbo and free lists.