Make numamigrate_update_ratelimit static. Reviewed-by: Rik van Riel <r...@redhat.com> Signed-off-by: Wanpeng Li <liw...@linux.vnet.ibm.com> --- mm/migrate.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/mm/migrate.c b/mm/migrate.c index 7ad81e0..b1b6663 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@ -1592,7 +1592,8 @@ bool migrate_ratelimited(int node) } /* Returns true if the node is migrate rate-limited after the update */ -bool numamigrate_update_ratelimit(pg_data_t *pgdat, unsigned long nr_pages) +static bool numamigrate_update_ratelimit(pg_data_t *pgdat, + unsigned long nr_pages) { bool rate_limited = false; -- 1.7.5.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/