BACKPORT: arm64: Create sections.h
authorJames Morse <james.morse@arm.com>
Wed, 24 Aug 2016 17:27:28 +0000 (18:27 +0100)
committerAmit Pundir <amit.pundir@linaro.org>
Thu, 25 May 2017 12:40:11 +0000 (18:10 +0530)
commit126a24ed887c78dbecd358c87cab47f36d0c095c
tree9e7b8f1068323f4f360e04e37b89d8f8a4130cc0
parent6dc6fa9766f441fb26bd82d81c3ae0864b2e3ade
BACKPORT: 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>
(cherry picked from commit ee78fdc71db1ce9a437b9ca17e31063996b71ec1)
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
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