OSDN Git Service

arm64: Create sections.h
authorJames Morse <james.morse@arm.com>
Thu, 19 Jul 2018 04:45:00 +0000 (10:15 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Tue, 7 Aug 2018 22:54:38 +0000 (15:54 -0700)
commit12ba466b44d63f1c8ed75435ca725c2b2575761e
treea61803fdf8e8ceae5d287ff07c92f4dab95b52b6
parentf66e94abb35a3110b877cc16a4a178e39b69af49
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).

Change-Id: I40cf712810291cde8f362fc41bb572b2e94daca1
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>
Git-Commit: ee78fdc71db1ce9a437b9ca17e31063996b71ec1
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Arun KS <arunks@codeaurora.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