Skip to content
Commit fbc89c95 authored by Martin Schwidefsky's avatar Martin Schwidefsky
Browse files

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: default avatarMike Frysinger <vapier@gentoo.org>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent e38f9781
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment