lkml.org 
[lkml]   [2007]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 09:35    [W:0.027 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site