summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/pgtable.h
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@linux.ibm.com>2023-07-05 14:17:11 +0200
committerHeiko Carstens <hca@linux.ibm.com>2023-07-24 12:12:24 +0200
commit9916bf4edac6f8f499ce7c42dafb57e242865790 (patch)
treec8a8e28d7a7cbb2e1f38aa646e274f3139b6ce62 /arch/s390/include/asm/pgtable.h
parent94fd522069e124297c094840473f0d9637c3d991 (diff)
s390/extmem: improve reporting of -ERANGE error
Interface segment_warning() reports maximum mappable physical address for -ERANGE error. Currently that address is the value of VMEM_MAX_PHYS macro, but that well might change. A better way to obtain that address is calling arch_get_mappable_range() callback - one that is used by vmem_add_mapping() and generates -ERANGE error in the first place. Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/pgtable.h')
0 files changed, 0 insertions, 0 deletions