summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/vmlinux-xip.lds.S
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2020-08-21 12:42:56 -0700
committerIngo Molnar <mingo@kernel.org>2020-09-01 10:03:17 +0200
commitd7e3b065dc98e95f2dae6d2da031dd4c243bd7be (patch)
tree2bc7e1a9c53d42b315bb4d5a0f1e01a639d42b60 /arch/arm/kernel/vmlinux-xip.lds.S
parentbe2881824ae9eb92a35b094f734f9ca7339ddf6d (diff)
downloadlinux-d7e3b065dc98e95f2dae6d2da031dd4c243bd7be.tar.bz2
arm/build: Refactor linker script headers
In preparation for adding --orphan-handling=warn, refactor the linker script header includes, and extract common macros. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: Russell King <linux@armlinux.org.uk> Link: https://lore.kernel.org/r/20200821194310.3089815-16-keescook@chromium.org
Diffstat (limited to 'arch/arm/kernel/vmlinux-xip.lds.S')
-rw-r--r--arch/arm/kernel/vmlinux-xip.lds.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/kernel/vmlinux-xip.lds.S b/arch/arm/kernel/vmlinux-xip.lds.S
index 3d4e88f08196..904c31fa20ed 100644
--- a/arch/arm/kernel/vmlinux-xip.lds.S
+++ b/arch/arm/kernel/vmlinux-xip.lds.S
@@ -9,15 +9,13 @@
#include <linux/sizes.h>
-#include <asm-generic/vmlinux.lds.h>
+#include <asm/vmlinux.lds.h>
#include <asm/cache.h>
#include <asm/thread_info.h>
#include <asm/memory.h>
#include <asm/mpu.h>
#include <asm/page.h>
-#include "vmlinux.lds.h"
-
OUTPUT_ARCH(arm)
ENTRY(stext)