From: Matt Mackall Date: Tue, 9 Dec 2008 21:14:21 +0000 (-0800) Subject: pagemap: fix 32-bit pagemap regression X-Git-Tag: v2.6.27.9~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35b9d8e0aa1268072f0a9238d738558c64c77372;p=pandora-kernel.git pagemap: fix 32-bit pagemap regression commit 49c50342c728344b79c8f9e8293637fe80ef5ad5 upstream. The large pages fix from bcf8039ed45 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 Reported-by: Doug Graham Cc: Alexey Dobriyan Cc: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed