x86/intel_rdt/cqm: Make integer rmid_limbo_count static
authorColin Ian King <colin.king@canonical.com>
Mon, 2 Oct 2017 14:59:31 +0000 (15:59 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 5 Oct 2017 11:20:32 +0000 (13:20 +0200)
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
arch/x86/kernel/cpu/intel_rdt_monitor.c

index 30827510094befb37aec9be1b356201a3644dd5e..681450eee428b8b07f9fb3a3b1fd5551a5c18cec 100644 (file)
@@ -51,7 +51,7 @@ static LIST_HEAD(rmid_free_lru);
  *     may have a occupancy value > intel_cqm_threshold. User can change
  *     the threshold occupancy value.
  */
-unsigned int rmid_limbo_count;
+static unsigned int rmid_limbo_count;
 
 /**
  * @rmid_entry - The entry in the limbo and free lists.