X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=fs%2Fproc%2Fmeminfo.c;h=74ea974f5ca6d86bd249ee920527be9c95157522;hb=33e5d76979cf01e3834814fe0aea569d1d602c1a;hp=43d23948384addca6930aa65acbf49804226827f;hpb=5482415a5ecc0cd791a5d885cc3db8281401078f;p=deliverable%2Flinux.git diff --git a/fs/proc/meminfo.c b/fs/proc/meminfo.c index 43d23948384a..74ea974f5ca6 100644 --- a/fs/proc/meminfo.c +++ b/fs/proc/meminfo.c @@ -120,7 +120,7 @@ static int meminfo_proc_show(struct seq_file *m, void *v) K(i.freeram-i.freehigh), #endif #ifndef CONFIG_MMU - K((unsigned long) atomic_read(&mmap_pages_allocated)), + K((unsigned long) atomic_long_read(&mmap_pages_allocated)), #endif K(i.totalswap), K(i.freeswap),