]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: use totalram_pages instead of num_physpages at runtime
authorJiang Liu <liuj97@gmail.com>
Wed, 19 Jun 2013 00:06:25 +0000 (10:06 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:13:16 +0000 (17:13 +1000)
commit095fc54e1e4fb0466ae0b924f9f8b710bea8d563
tree6e62e304a23ef83b3115f46aa8e0bf2a6a796765
parentd2ed438425140b258ce06f1a96615e35fffed6fa
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>
fs/fuse/inode.c
kernel/power/snapshot.c
net/ipv4/inet_fragment.c