[PATCH peterz-queue] perf/x86: allocate_excl_cntrs() can be static

From: kbuild test robot
Date: Tue Mar 31 2015 - 09:33:03 EST



Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
perf_event_intel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/cpu/perf_event_intel.c b/arch/x86/kernel/cpu/perf_event_intel.c
index d7b6eee..8e18f44 100644
--- a/arch/x86/kernel/cpu/perf_event_intel.c
+++ b/arch/x86/kernel/cpu/perf_event_intel.c
@@ -2201,7 +2201,7 @@ struct intel_shared_regs *allocate_shared_regs(int cpu)
return regs;
}

-struct intel_excl_cntrs *allocate_excl_cntrs(int cpu)
+static struct intel_excl_cntrs *allocate_excl_cntrs(int cpu)
{
struct intel_excl_cntrs *c;
int i;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/