diff options
author | Alexander Gordeev <agordeev@linux.ibm.com> | 2023-08-11 10:49:27 +0300 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2024-04-17 14:38:00 +0300 |
commit | 5fb50fa66ab94141c0692dc5043ed30e6159a81b (patch) | |
tree | c43165ab2f4bc5eb93409d05a67168c2e0ff7e29 /arch/s390/include/asm | |
parent | 7de0446f0b26589fa80e384d8edaa2c279583652 (diff) | |
download | linux-5fb50fa66ab94141c0692dc5043ed30e6159a81b.tar.xz |
s390/boot: Make .amode31 section address range explicit
This is a preparatory rework to allow uncoupling virtual
and physical addresses spaces.
Introduce .amode31 section address range AMODE31_START
and AMODE31_END macros for later use.
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm')
-rw-r--r-- | arch/s390/include/asm/physmem_info.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/include/asm/physmem_info.h b/arch/s390/include/asm/physmem_info.h index e747b067f8db..d2f1cc742695 100644 --- a/arch/s390/include/asm/physmem_info.h +++ b/arch/s390/include/asm/physmem_info.h @@ -170,4 +170,7 @@ static inline unsigned long get_physmem_reserved(enum reserved_range_type type, return *size; } +#define AMODE31_START (physmem_info.reserved[RR_AMODE31].start) +#define AMODE31_END (physmem_info.reserved[RR_AMODE31].end) + #endif |