564f6ea1a6
The generic version of arch_is_kernel_initmem_freed() now does the same as s390 version. Remove the s390 version. Link: https://lkml.kernel.org/r/b6feb5dfe611a322de482762fc2df3a9eece70c7.1633001016.git.christophe.leroy@csgroup.eu Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Acked-by: Heiko Carstens <hca@linux.ibm.com> Cc: Gerald Schaefer <gerald.schaefer@linux.ibm.com> Cc: Kefeng Wang <wangkefeng.wang@huawei.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@ozlabs.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
30 lines
1.0 KiB
C
30 lines
1.0 KiB
C
/* 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
|
|
|
|
/*
|
|
* .boot.preserved.data is similar to .boot.data, but it is not part of the
|
|
* .init section and thus will be preserved for later use in the decompressed
|
|
* kernel.
|
|
*/
|
|
#define __bootdata_preserved(var) __section(".boot.preserved.data." #var) var
|
|
|
|
extern unsigned long __samode31, __eamode31;
|
|
extern unsigned long __stext_amode31, __etext_amode31;
|
|
|
|
#endif
|