]> git.baikalelectronics.ru Git - kernel.git/commit
pagemap: fix 32-bit pagemap regression
authorMatt Mackall <mpm@selenic.com>
Tue, 9 Dec 2008 21:14:21 +0000 (13:14 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 10 Dec 2008 16:01:53 +0000 (08:01 -0800)
commitffce8f86d48bcbf6fec4e199cdf4bf31f9d41810
treedec4b310b517d03b62181725026e85bb0cdcc2a0
parent0f3eb62f962d462390aed7f0d8ae2444adaeeeb9
pagemap: fix 32-bit pagemap regression

The large pages fix from aa8ec553e7c broke 32-bit pagemap by pulling the
pagemap entry code out into a function with the wrong return type.
Pagemap entries are 64 bits on all systems and unsigned long is only 32
bits on 32-bit systems.

Signed-off-by: Matt Mackall <mpm@selenic.com>
Reported-by: Doug Graham <dgraham@nortel.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Dave Hansen <dave@linux.vnet.ibm.com>
Cc: <stable@kernel.org> [2.6.26.x, 2.6.27.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/task_mmu.c