xref: /openbmc/linux/arch/s390/include/asm/sections.h (revision 023e4163)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _S390_SECTIONS_H
3 #define _S390_SECTIONS_H
4 
5 #include <asm-generic/sections.h>
6 
7 /*
8  * .boot.data section contains variables "shared" between the decompressor and
9  * the decompressed kernel. The decompressor will store values in them, and
10  * copy over to the decompressed image before starting it.
11  *
12  * Each variable end up in its own intermediate section .boot.data.<var name>,
13  * those sections are later sorted by alignment + name and merged together into
14  * final .boot.data section, which should be identical in the decompressor and
15  * the decompressed kernel (that is checked during the build).
16  */
17 #define __bootdata(var) __section(.boot.data.var) var
18 
19 #endif
20