Skip to content

Commit 5fd88b6

Browse files
Colin Ian KingKAGA-KOKO
authored andcommitted
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
1 parent 165d3ad commit 5fd88b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kernel/cpu/intel_rdt_monitor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ static LIST_HEAD(rmid_free_lru);
5151
* may have a occupancy value > intel_cqm_threshold. User can change
5252
* the threshold occupancy value.
5353
*/
54-
unsigned int rmid_limbo_count;
54+
static unsigned int rmid_limbo_count;
5555

5656
/**
5757
* @rmid_entry - The entry in the limbo and free lists.

0 commit comments

Comments
 (0)