]> 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>
Thu, 27 Jun 2013 23:51:52 +0000 (09:51 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:37:45 +0000 (16:37 +1000)
commiteddd6b564aee4da5b50ebcd1b3acea92946a51f0
tree2b4366dc4384f5d5b81dd2fb1662a16236e2f52e
parentb9074af7055bcf667e3650739f6143ed7bdc986b
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