Re: [PATCH] x86: perf_counter remove unwanted hw_perf_enable_all

From: Ingo Molnar
Date: Sat Dec 27 2008 - 10:03:39 EST



* Jaswinder Singh Rajput <jaswinder@xxxxxxxxxxxxx> wrote:

> Impact: clean, reduce kernel size a bit, avoid sparse warnings
>
> Fixes sparse warnings:
>
> arch/x86/kernel/cpu/perf_counter.c:153:6: warning: symbol 'hw_perf_enable_all' was not declared. Should it be static?
> arch/x86/kernel/cpu/perf_counter.c:279:3: warning: returning void-valued expression
> arch/x86/kernel/cpu/perf_counter.c:206:3: warning: returning void-valued expression
> arch/x86/kernel/cpu/perf_counter.c:206:3: warning: returning void-valued expression
>
> Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@xxxxxxxxx>
> ---
> arch/x86/kernel/cpu/perf_counter.c | 24 +++++++-----------------
> 1 files changed, 7 insertions(+), 17 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/