Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / arch / arm64 / include / asm / sections.h
blob40971ac1303f9aa0067d9e860b81e01a444a4b54
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (C) 2016 ARM Limited
4 */
5 #ifndef __ASM_SECTIONS_H
6 #define __ASM_SECTIONS_H
8 #include <asm-generic/sections.h>
10 extern char __alt_instructions[], __alt_instructions_end[];
11 extern char __hibernate_exit_text_start[], __hibernate_exit_text_end[];
12 extern char __hyp_idmap_text_start[], __hyp_idmap_text_end[];
13 extern char __hyp_text_start[], __hyp_text_end[];
14 extern char __hyp_rodata_start[], __hyp_rodata_end[];
15 extern char __hyp_reloc_begin[], __hyp_reloc_end[];
16 extern char __hyp_bss_start[], __hyp_bss_end[];
17 extern char __idmap_text_start[], __idmap_text_end[];
18 extern char __initdata_begin[], __initdata_end[];
19 extern char __inittext_begin[], __inittext_end[];
20 extern char __exittext_begin[], __exittext_end[];
21 extern char __irqentry_text_start[], __irqentry_text_end[];
22 extern char __mmuoff_data_start[], __mmuoff_data_end[];
23 extern char __entry_tramp_text_start[], __entry_tramp_text_end[];
24 extern char __relocate_new_kernel_start[], __relocate_new_kernel_end[];
26 static inline size_t entry_tramp_text_size(void)
28 return __entry_tramp_text_end - __entry_tramp_text_start;
31 #endif /* __ASM_SECTIONS_H */