Commit 22a0e8f0 authored by Andrew Pinski's avatar Andrew Pinski Committed by Yang Yingliang
Browse files

arm64:ilp32: add ARM64_ILP32 to Kconfig



hulk inclusion
category: feature
bugzilla: NA
CVE: NA
---------------------------

This patch adds the config option for ILP32.

Signed-off-by: default avatarAndrew Pinski <Andrew.Pinski@caviumnetworks.com>
Signed-off-by: default avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Signed-off-by: default avatarChristoph Muellner <christoph.muellner@theobroma-systems.com>
Signed-off-by: default avatarYury Norov <ynorov@caviumnetworks.com>
Reviewed-by: default avatarDavid Daney <ddaney@caviumnetworks.com>
Signed-off-by: default avatarXiongfeng Wang <wangxiongfeng2@huawei.com>
Reviewed-by: default avatarHanjun Guo &lt;guohanjun@huawei.com <mailto:guohanjun@huawei.com&gt;>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 81ca4c78
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -1374,7 +1374,7 @@ endmenu

config COMPAT
	def_bool y
	depends on AARCH32_EL0
	depends on AARCH32_EL0 || ARM64_ILP32

config AARCH32_EL0
	bool "Kernel support for 32-bit EL0"
@@ -1395,6 +1395,13 @@ config AARCH32_EL0

	  If you want to execute 32-bit userspace applications, say Y.

config ARM64_ILP32
	bool "Kernel support for ILP32"
	help
	  This option enables support for AArch64 ILP32 user space.  ILP32
	  is an ABI where long and pointers are 32bits but it uses the AARCH64
	  instruction set.

config SYSVIPC_COMPAT
	def_bool y
	depends on COMPAT && SYSVIPC