Re: [PATCH] CFS: Mark print_cfs_stats static

From: Ingo Molnar
Date: Mon Aug 06 2007 - 03:33:33 EST



* Josh Triplett <josh@xxxxxxxxxx> wrote:

> sched_fair.c defines print_cfs_stats, and sched_debug.c uses it, but
> sched.c includes both sched_fair.c and sched_debug.c, so all the
> references to print_cfs_stats occur in the same compilation unit.
> Thus, mark print_cfs_stats static.
>
> Eliminates a sparse warning: warning: symbol 'print_cfs_stats' was not
> declared. Should it be static?

thanks, applied.

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/