lkml.org 
[lkml]   [2007]   [Aug]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 6 Aug 2007 09:32:58 +0200
FromIngo Molnar <>
SubjectRe: [PATCH] CFS: Mark print_cfs_stats static
* Josh Triplett <josh@kernel.org> 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-08-06 07:35    [from the cache]
©2003-2008