arm64: Create sections.h
authorJames Morse <james.morse@arm.com>
Wed, 24 Aug 2016 17:27:28 +0000 (18:27 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 25 Aug 2016 17:00:29 +0000 (18:00 +0100)
commitee78fdc71db1ce9a437b9ca17e31063996b71ec1
treef775135561acbb2b93f71025114a4b3e7c8ae756
parentcab15ce604e550020bb7115b779013b91bcdbc21
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>
arch/arm64/include/asm/Kbuild
arch/arm64/include/asm/sections.h [new file with mode: 0644]
arch/arm64/include/asm/traps.h
arch/arm64/include/asm/virt.h
arch/arm64/kernel/alternative.c
arch/arm64/kernel/hibernate.c
arch/arm64/kernel/probes/kprobes.c