diff options
author | James Morse <james.morse@arm.com> | 2016-08-24 19:27:28 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2016-08-25 19:00:29 +0200 |
commit | ee78fdc71db1ce9a437b9ca17e31063996b71ec1 (patch) | |
tree | f775135561acbb2b93f71025114a4b3e7c8ae756 /arch/arm64/include/asm/virt.h | |
parent | arm64: Introduce execute-only page access permissions (diff) | |
download | linux-ee78fdc71db1ce9a437b9ca17e31063996b71ec1.tar.xz linux-ee78fdc71db1ce9a437b9ca17e31063996b71ec1.zip |
arm64: Create sections.h
Each time new section markers are added, kernel/vmlinux.ld.S is updated,
and new extern char __start_foo[] definitions are scattered through the
tree.
Create asm/include/sections.h to collect these definitions (and include
the existing asm-generic version).
Signed-off-by: James Morse <james.morse@arm.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/virt.h')
-rw-r--r-- | arch/arm64/include/asm/virt.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/arm64/include/asm/virt.h b/arch/arm64/include/asm/virt.h index 1788545f25bc..db5739413677 100644 --- a/arch/arm64/include/asm/virt.h +++ b/arch/arm64/include/asm/virt.h @@ -45,6 +45,7 @@ #ifndef __ASSEMBLY__ #include <asm/ptrace.h> +#include <asm/sections.h> /* * __boot_cpu_mode records what mode CPUs were booted in. @@ -87,14 +88,6 @@ extern void verify_cpu_run_el(void); static inline void verify_cpu_run_el(void) {} #endif -/* The section containing the hypervisor idmap text */ -extern char __hyp_idmap_text_start[]; -extern char __hyp_idmap_text_end[]; - -/* The section containing the hypervisor text */ -extern char __hyp_text_start[]; -extern char __hyp_text_end[]; - #endif /* __ASSEMBLY__ */ #endif /* ! __ASM__VIRT_H */ |