Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 49a57857aeea06ca831043acbb0fa5e0f50602fd authored by Linus Torvalds on 21 January 2019, 00:14:44 UTC
Linux 5.0-rc3
Tip revision: 49a5785
sections.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _S390_SECTIONS_H
#define _S390_SECTIONS_H

#include <asm-generic/sections.h>

/*
 * .boot.data section contains variables "shared" between the decompressor and
 * the decompressed kernel. The decompressor will store values in them, and
 * copy over to the decompressed image before starting it.
 *
 * Each variable end up in its own intermediate section .boot.data.<var name>,
 * those sections are later sorted by alignment + name and merged together into
 * final .boot.data section, which should be identical in the decompressor and
 * the decompressed kernel (that is checked during the build).
 */
#define __bootdata(var) __section(.boot.data.var) var

#endif
back to top