Re: [PATCH] x86: perf_counter.c intel_perfmon_event_map andmax_intel_perfmon_events should be static

From: Ingo Molnar
Date: Fri Dec 19 2008 - 17:15:54 EST



* Jaswinder Singh <jaswinder@xxxxxxxxxxxxx> wrote:

> Impact: cleanup, avoid sparse warnings, reduce kernel size a bit
>
> Fixes these sparse warnings:
> arch/x86/kernel/cpu/perf_counter.c:44:11: warning: symbol 'intel_perfmon_event_map' was not declared. Should it be static?
> arch/x86/kernel/cpu/perf_counter.c:54:11: warning: symbol 'max_intel_perfmon_events' was not declared. Should it be static?
>
> Signed-off-by: Jaswinder Singh <jaswinder@xxxxxxxxxxxxx>
> ---
> arch/x86/kernel/cpu/perf_counter.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)

applied to tip/perfcounters/core, thanks!

Ingo
--
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/