Skip to content

Commit

Permalink
mm: make setup_per_zone_inactive_ratio() static
Browse files Browse the repository at this point in the history
Sparse output following warning.

mm/page_alloc.c:4301:6: warning: symbol 'setup_per_zone_inactive_ratio' was not declared. Should it be static?

cleanup here.

Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
kosaki authored and torvalds committed Jan 6, 2009
1 parent 14b90b2 commit efab818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -4314,7 +4314,7 @@ void setup_per_zone_pages_min(void)
* 1TB 101 10GB
* 10TB 320 32GB
*/
void setup_per_zone_inactive_ratio(void)
static void setup_per_zone_inactive_ratio(void)
{
struct zone *zone;

Expand Down

0 comments on commit efab818

Please sign in to comment.