summaryrefslogtreecommitdiffstats
path: root/kernel/arch/arm64/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/arm64/Makefile')
-rw-r--r--kernel/arch/arm64/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/arch/arm64/Makefile b/kernel/arch/arm64/Makefile
index 4d2a92599..81151663e 100644
--- a/kernel/arch/arm64/Makefile
+++ b/kernel/arch/arm64/Makefile
@@ -30,6 +30,10 @@ endif
CHECKFLAGS += -D__aarch64__
+ifeq ($(CONFIG_ARM64_ERRATUM_843419), y)
+CFLAGS_MODULE += -mcmodel=large
+endif
+
# Default value
head-y := arch/arm64/kernel/head.o