summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/sections.h
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2023-08-25 15:29:49 +0300
committerHeiko Carstens <hca@linux.ibm.com>2023-08-30 12:03:27 +0300
commit3eeb07788ff05b30e2ddad39561d53495563e63a (patch)
tree712d75abbee7657d0082d3e2241bad2c53b72750 /arch/s390/include/asm/sections.h
parentc0f1d478121131c2a97cab24148bf7ebb7ed3434 (diff)
downloadlinux-3eeb07788ff05b30e2ddad39561d53495563e63a.tar.xz
s390/amode31: change type of __samode31, __eamode31, etc
For consistencs reasons change the type of __samode31, __eamode31, __stext_amode31, and __etext_amode31 to a char pointer so they (nearly) match the type of all other sections. This allows for code simplifications with follow-on patches. Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/sections.h')
-rw-r--r--arch/s390/include/asm/sections.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/include/asm/sections.h b/arch/s390/include/asm/sections.h
index 3fecaa4e8b74..0486e6ef62bf 100644
--- a/arch/s390/include/asm/sections.h
+++ b/arch/s390/include/asm/sections.h
@@ -23,7 +23,7 @@
*/
#define __bootdata_preserved(var) __section(".boot.preserved.data." #var) var
-extern unsigned long __samode31, __eamode31;
-extern unsigned long __stext_amode31, __etext_amode31;
+extern char *__samode31, *__eamode31;
+extern char *__stext_amode31, *__etext_amode31;
#endif