9c3205b2b0
Move declarations to appropriate header files. Instead of cryptic casting directly assign struct vmlinux_info type to _vmlinux_info linker script variable - wich it actually is. Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
13 lines
339 B
C
13 lines
339 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef BOOT_COMPRESSED_DECOMPRESSOR_H
|
|
#define BOOT_COMPRESSED_DECOMPRESSOR_H
|
|
|
|
#ifdef CONFIG_KERNEL_UNCOMPRESSED
|
|
static inline void *decompress_kernel(void) { return NULL; }
|
|
#else
|
|
void *decompress_kernel(void);
|
|
#endif
|
|
unsigned long mem_safe_offset(void);
|
|
|
|
#endif /* BOOT_COMPRESSED_DECOMPRESSOR_H */
|