OSDN Git Service

x86/intel_rdt: Mark rdt_root and closid_alloc as static
authorReinette Chatre <reinette.chatre@intel.com>
Tue, 25 Jul 2017 21:14:24 +0000 (14:14 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 1 Aug 2017 20:41:20 +0000 (22:41 +0200)
commitcb2200e967c65519ca6c5426644a49dca65f6294
tree64ba50ece14e2f1d65e26223aa8ec8d57d4eb23e
parent0583020456cea9fcf43b84bb13a41eab059ae0a8
x86/intel_rdt: Mark rdt_root and closid_alloc as static

Sparse reports that both of these can be static.

Make it so.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Vikas Shivappa <vikas.shivappa@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: ravi.v.shankar@intel.com
Cc: tony.luck@intel.com
Cc: fenghua.yu@intel.com
Cc: peterz@infradead.org
Cc: eranian@google.com
Cc: vikas.shivappa@intel.com
Cc: ak@linux.intel.com
Cc: davidcc@google.com
Link: http://lkml.kernel.org/r/1501017287-28083-6-git-send-email-vikas.shivappa@linux.intel.com
arch/x86/kernel/cpu/intel_rdt_rdtgroup.c