summaryrefslogtreecommitdiff
path: root/arch/s390/kernel/entry.h
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@linux.ibm.com>2021-09-27 14:18:26 +0200
committerVasily Gorbik <gor@linux.ibm.com>2021-10-04 09:49:37 +0200
commite3ec8e0f5711d73f7e5d5c3cffdf4fad4f1487b9 (patch)
tree2738a712dccce610d38bb03ea51721e83371f6c3 /arch/s390/kernel/entry.h
parent584315ed87a7dce663ef3f07956b5f363f83c7bd (diff)
s390/boot: allocate amode31 section in decompressor
The memory for amode31 section is allocated from the decompressed kernel. Instead, allocate that memory from the decompressor. This is a prerequisite to allow initialization of the virtual memory before the decompressed kernel takes over. Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/entry.h')
-rw-r--r--arch/s390/kernel/entry.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kernel/entry.h b/arch/s390/kernel/entry.h
index 7f2696e8d511..6083090be1f4 100644
--- a/arch/s390/kernel/entry.h
+++ b/arch/s390/kernel/entry.h
@@ -70,5 +70,6 @@ extern struct exception_table_entry _stop_amode31_ex_table[];
#define __amode31_data __section(".amode31.data")
#define __amode31_ref __section(".amode31.refs")
extern long _start_amode31_refs[], _end_amode31_refs[];
+extern unsigned long __amode31_base;
#endif /* _ENTRY_H */