From: Hans Rosenfeld Date: Fri, 21 Mar 2008 23:46:59 +0000 (-0500) Subject: Change pagemap output format to allow for future reporting of huge pages X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f16278c679aa72e28288435b313ba2d4494d6be5;p=openwrt%2Fstaging%2Fblogic.git Change pagemap output format to allow for future reporting of huge pages Change pagemap output format to allow for future reporting of huge pages. (Format comment and minor cleanups: mpm@selenic.com) Signed-off-by: Hans Rosenfeld Signed-off-by: Matt Mackall Signed-off-by: Linus Torvalds --- diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index 4206454734e0..9dfb5ff24209 100644 --- a/fs/proc/task_mmu.c +++ b/fs/proc/task_mmu.c @@ -527,13 +527,21 @@ struct pagemapread { char __user *out, *end; }; -#define PM_ENTRY_BYTES sizeof(u64) -#define PM_RESERVED_BITS 3 -#define PM_RESERVED_OFFSET (64 - PM_RESERVED_BITS) -#define PM_RESERVED_MASK (((1LL<