From: Hans Rosenfeld Date: Sat, 23 Feb 2008 23:23:31 +0000 (-0800) Subject: /proc/pid/pagemap: fix PM_SPECIAL macro X-Git-Tag: v2.6.25-rc3~59 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=745329c4a2a25efbf5ba6cd7842e07840e4e9775;p=linux-2.6-omap-h63xx.git /proc/pid/pagemap: fix PM_SPECIAL macro There seems to be a bug in the PM_SPECIAL macro for /proc/pid/pagemap. I think masking out those other bits makes more sense then setting all those mask bits. Signed-off-by: Hans Rosenfeld Acked-by: Matt Mackall Cc: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index 49958cffbd8..6dc0334815f 100644 --- a/fs/proc/task_mmu.c +++ b/fs/proc/task_mmu.c @@ -531,7 +531,7 @@ struct pagemapread { #define PM_RESERVED_BITS 3 #define PM_RESERVED_OFFSET (64 - PM_RESERVED_BITS) #define PM_RESERVED_MASK (((1LL<