]> git.itanic.dy.fi Git - linux-stable/commitdiff
s390: move __amode31_base declaration to proper header file
authorHeiko Carstens <hca@linux.ibm.com>
Sun, 8 Jan 2023 18:08:55 +0000 (19:08 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 13 Jan 2023 13:15:07 +0000 (14:15 +0100)
Move __amode31_base declaration to proper header file to get rid of

arch/s390/boot/startup.c:24:15:
 warning: symbol '__amode31_base' was not declared. Should it be static?

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/setup.h
arch/s390/kernel/entry.h

index 6792ce28d37a7507cc2072252075eef3a252676f..177bf6deaa278dff85063066cedd25286702c6e7 100644 (file)
@@ -76,6 +76,7 @@ extern unsigned long ident_map_size;
 extern unsigned long pgalloc_pos;
 extern unsigned long pgalloc_end;
 extern unsigned long pgalloc_low;
+extern unsigned long __amode31_base;
 
 /* The Write Back bit position in the physaddr is given by the SLPC PCI */
 extern unsigned long mio_wb_bit_mask;
index 995ec7449feba995d141466b0ebdd62085b9aee9..34674e38826b68ea61a6b3b0e9fb18904acce298 100644 (file)
@@ -73,6 +73,5 @@ 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 */