mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
c9a1d4f672
The kernel .data decompression is called from assembler, so it does not need a prototype, but adding one avoids this W=1 warning: arch/arm/kernel/head-inflate-data.c:35:12: error: no previous prototype for '__inflate_kernel_data' [-Werror=missing-prototypes] The same file contains a few extern declarations for assembler symbols, move those into the header as well for consistency. Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
8 lines
157 B
C
8 lines
157 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
extern char __data_loc[];
|
|
extern char _edata_loc[];
|
|
extern char _sdata[];
|
|
|
|
int __init __inflate_kernel_data(void);
|