diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-01-07 11:00:02 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-01-08 10:02:18 +0100 |
commit | fbc89c952f004fb9191c23605a1428df6dd39a90 (patch) | |
tree | d9d0e6b79fdce720e1ad908bd6911bc7a0d805ea /drivers/rpmsg | |
parent | e38f97813302065fbc9c9eab5c1a94dc021d71e2 (diff) | |
download | linux-fbc89c952f004fb9191c23605a1428df6dd39a90.tar.bz2 |
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>
Diffstat (limited to 'drivers/rpmsg')
0 files changed, 0 insertions, 0 deletions