diff options
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r-- | arch/arm64/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index cfa1cc90ebf4..c85c29d660bd 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig | |||
@@ -395,6 +395,7 @@ config ARM64_ERRATUM_843419 | |||
395 | bool "Cortex-A53: 843419: A load or store might access an incorrect address" | 395 | bool "Cortex-A53: 843419: A load or store might access an incorrect address" |
396 | depends on MODULES | 396 | depends on MODULES |
397 | default y | 397 | default y |
398 | select ARM64_MODULE_CMODEL_LARGE | ||
398 | help | 399 | help |
399 | This option builds kernel modules using the large memory model in | 400 | This option builds kernel modules using the large memory model in |
400 | order to avoid the use of the ADRP instruction, which can cause | 401 | order to avoid the use of the ADRP instruction, which can cause |
@@ -778,6 +779,14 @@ config ARM64_UAO | |||
778 | regular load/store instructions if the cpu does not implement the | 779 | regular load/store instructions if the cpu does not implement the |
779 | feature. | 780 | feature. |
780 | 781 | ||
782 | config ARM64_MODULE_CMODEL_LARGE | ||
783 | bool | ||
784 | |||
785 | config ARM64_MODULE_PLTS | ||
786 | bool | ||
787 | select ARM64_MODULE_CMODEL_LARGE | ||
788 | select HAVE_MOD_ARCH_SPECIFIC | ||
789 | |||
781 | endmenu | 790 | endmenu |
782 | 791 | ||
783 | menu "Boot options" | 792 | menu "Boot options" |