On Friday 05 October 2012, Fabio Estevam wrote:
> Since commit 4ae834f767(sched/numa: Implement NUMA home-node selection code)
> building a kernel with CONFIG_SMP disabled causes the following warning:
> 
> kernel/sysctl.c:259:12: warning: 'min_sched_tunable_scaling' defined but not 
> used [-Wunused-variable]
> kernel/sysctl.c:260:12: warning: 'max_sched_tunable_scaling' defined but not 
> used [-Wunused-variable]
> 
> Annotate theses variables as '__maybe_unused'.
> 
> Signed-off-by: Fabio Estevam <[email protected]>

Acked-by: Arnd Bergmann <[email protected]>

I noticed the same thing and had a different fix for it, but yours is better 
anyway.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to