Jiang Liu 0ed5fd1385 mm: use totalram_pages instead of num_physpages at runtime
The global variable num_physpages is scheduled to be removed, so use
totalram_pages instead of num_physpages at runtime.

Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Cc: Miklos Szeredi <miklos@szeredi.hu>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Cc: James Morris <jmorris@namei.org>
Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Cc: Patrick McHardy <kaber@trash.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-07-03 16:07:35 -07:00
..
2013-05-03 16:08:58 -04:00
2013-02-15 15:10:37 -05:00
2013-05-06 11:06:51 -04:00
2013-06-25 16:07:44 -07:00
2013-03-17 14:35:13 -04:00
2012-10-08 17:42:36 -04:00
2013-03-26 12:27:18 -04:00
2013-03-26 12:27:19 -04:00
2013-03-26 12:27:18 -04:00
2013-04-14 15:41:49 -04:00
2013-03-21 11:47:50 -04:00
2012-01-20 14:17:26 -05:00
2012-01-20 14:17:26 -05:00
2012-05-17 14:59:59 -04:00
2011-03-31 11:26:23 -03:00
2013-05-23 18:29:20 -07:00
2013-03-21 11:47:50 -04:00
2013-03-21 11:47:50 -04:00
2011-03-31 11:26:23 -03:00
2012-03-11 23:42:51 -07:00
2012-04-15 12:37:19 -04:00