diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2013-02-23 00:32:22 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-24 01:50:10 (GMT) |
commit | 90ae8d670c12156f4328235aca1a528a8bfe6708 (patch) | |
tree | 91f1556b416397b8119c9884fe81fe24f451b9b9 /mm/quicklist.c | |
parent | af34770e55fd899c96d8d73bdc04dbc956096650 (diff) | |
download | linux-90ae8d670c12156f4328235aca1a528a8bfe6708.tar.xz |
mm/page_alloc.c:__setup_per_zone_wmarks: make min_pages unsigned long
`int' is an inappropriate type for a number-of-pages counter.
While we're there, use the clamp() macro.
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Mel Gorman <mgorman@suse.de>
Reviewed-by: Michal Hocko <mhocko@suse.cz>
Cc: Hugh Dickins <hughd@google.com>
Cc: Satoru Moriya <satoru.moriya@hds.com>
Cc: Simon Jeons <simon.jeons@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/quicklist.c')
0 files changed, 0 insertions, 0 deletions