commit | fbc89c952f004fb9191c23605a1428df6dd39a90 | [log] [tgz] |
---|---|---|
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | Wed Jan 07 11:00:02 2015 +0100 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Thu Jan 08 10:02:18 2015 +0100 |
tree | d9d0e6b79fdce720e1ad908bd6911bc7a0d805ea | |
parent | e38f97813302065fbc9c9eab5c1a94dc021d71e2 [diff] |
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 <vapier@gentoo.org> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>