From: Gerald Schaefer Date: Wed, 9 Jan 2013 17:49:51 +0000 (+0100) Subject: s390/mm: fix pmd_pfn() for thp X-Git-Tag: v3.8-rc4~1^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=171c4006fb1b42a084057a71c86776e9f1b8e62c;p=pandora-kernel.git s390/mm: fix pmd_pfn() for thp The pfn calculation in pmd_pfn() is broken for thp, because it uses HPAGE_SHIFT instead of the normal PAGE_SHIFT. This is fixed by removing the distinction between thp and normal pmds in that function, and always using PAGE_SHIFT. Reported-by: Christian Borntraeger Signed-off-by: Gerald Schaefer Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed