mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-01 14:53:11 +01:00
Now that the copy is executed instead of the original, the relocate_kernel page can live in the kernel's .text section. This will allow subsequent commits to actually add real data to it and clean up the code somewhat as well as making the control page ROX. Signed-off-by: David Woodhouse <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Cc: Baoquan He <[email protected]> Cc: Vivek Goyal <[email protected]> Cc: Dave Young <[email protected]> Cc: Eric Biederman <[email protected]> Cc: Ard Biesheuvel <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Link: https://lore.kernel.org/r/[email protected]
21 lines
490 B
C
21 lines
490 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_X86_SECTIONS_H
|
|
#define _ASM_X86_SECTIONS_H
|
|
|
|
#include <asm-generic/sections.h>
|
|
#include <asm/extable.h>
|
|
|
|
extern char __relocate_kernel_start[], __relocate_kernel_end[];
|
|
extern char __brk_base[], __brk_limit[];
|
|
extern char __end_rodata_aligned[];
|
|
|
|
#if defined(CONFIG_X86_64)
|
|
extern char __end_rodata_hpage_align[];
|
|
#endif
|
|
|
|
extern char __end_of_kernel_reserve[];
|
|
|
|
extern unsigned long _brk_start, _brk_end;
|
|
|
|
#endif /* _ASM_X86_SECTIONS_H */
|