diff options
author | Zhang Yanfei <zhangyanfei@cn.fujitsu.com> | 2013-02-22 16:35:43 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-23 17:50:21 -0800 |
commit | ebec3862fd6eefe8301aa55ed2e30c685d831842 (patch) | |
tree | dda7828d852e384a382b277be0ec80b21ff38c72 /mm/swap.c | |
parent | 1081312f95be1a0fc093556d789e482d3ab0f5b0 (diff) | |
download | talos-op-linux-ebec3862fd6eefe8301aa55ed2e30c685d831842.tar.gz talos-op-linux-ebec3862fd6eefe8301aa55ed2e30c685d831842.zip |
mm: fix return type for functions nr_free_*_pages
Currently, the amount of RAM that functions nr_free_*_pages return is
held in unsigned int. But in machines with big memory (exceeding 16TB),
the amount may be incorrect because of overflow, so fix it.
Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Cc: Simon Horman <horms@verge.net.au>
Cc: Julian Anastasov <ja@ssi.bg>
Cc: David Miller <davem@davemloft.net>
Cc: Eric Van Hensbergen <ericvh@gmail.com>
Cc: Ron Minnich <rminnich@sandia.gov>
Cc: Latchesar Ionkov <lucho@ionkov.net>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Minchan Kim <minchan.kim@gmail.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions