From: Martin Schwidefsky Date: Wed, 7 Jan 2015 10:00:02 +0000 (+0100) Subject: s390/mm: avoid using pmd_to_page for !USE_SPLIT_PMD_PTLOCKS X-Git-Tag: fixes-v4.0-rc1~134^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbc89c952f004fb9191c23605a1428df6dd39a90;p=pandora-kernel.git s390/mm: avoid using pmd_to_page for !USE_SPLIT_PMD_PTLOCKS pmd_to_page() is only available if USE_SPLIT_PMD_PTLOCKS is defined. The use of pmd_to_page in the gmap code can cause compile errors if NR_CPUS is smaller than SPLIT_PTLOCK_CPUS. Do not use pmd_to_page outside of USE_SPLIT_PMD_PTLOCKS sections. Reported-by: Mike Frysinger Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed