Message ID | 1443564860-31208-4-git-send-email-ynorov@caviumnetworks.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 09/30/2015 01:14 AM, Yury Norov wrote: > From: Andrew Pinski <apinski@cavium.com> > > Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> > Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com> > Signed-off-by: Yury Norov <ynorov@caviumnetworks.com> > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index 07d1811..d1dc605 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -679,6 +679,11 @@ menu "Userspace binary formats" > source "fs/Kconfig.binfmt" > > config COMPAT > + def_bool y > + depends on AARCH32_EL0 > + select COMPAT_BINFMT_ELF - this is already selected by AARCH32_EL0 below? > + > +config AARCH32_EL0 > bool "Kernel support for 32-bit EL0" > depends on !ARM64_64K_PAGES || EXPERT > select COMPAT_BINFMT_ELF - ...here > @@ -699,7 +704,7 @@ config COMPAT > > config SYSVIPC_COMPAT > def_bool y > - depends on COMPAT && SYSVIPC > + depends on AARCH32_EL0 && SYSVIPC > > endmenu > >
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 07d1811..d1dc605 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -679,6 +679,11 @@ menu "Userspace binary formats" source "fs/Kconfig.binfmt" config COMPAT + def_bool y + depends on AARCH32_EL0 + select COMPAT_BINFMT_ELF + +config AARCH32_EL0 bool "Kernel support for 32-bit EL0" depends on !ARM64_64K_PAGES || EXPERT select COMPAT_BINFMT_ELF @@ -699,7 +704,7 @@ config COMPAT config SYSVIPC_COMPAT def_bool y - depends on COMPAT && SYSVIPC + depends on AARCH32_EL0 && SYSVIPC endmenu