From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 0B20B1A01E7 for ; Wed, 22 Apr 2015 04:37:00 +1000 (AEST) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0140.outbound.protection.outlook.com [157.56.110.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 730801402E7 for ; Wed, 22 Apr 2015 04:36:59 +1000 (AEST) Message-ID: <1429641409.4352.110.camel@freescale.com> Subject: Re: [PATCH 2/2] powerpc: Disable building the 32-bit VDSO on little endian From: Scott Wood To: Michael Ellerman Date: Tue, 21 Apr 2015 13:36:49 -0500 In-Reply-To: <1429609312-32638-2-git-send-email-mpe@ellerman.id.au> References: <1429609312-32638-1-git-send-email-mpe@ellerman.id.au> <1429609312-32638-2-git-send-email-mpe@ellerman.id.au> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, sam.mj@au1.ibm.com, Anton Blanchard List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2015-04-21 at 19:41 +1000, Michael Ellerman wrote: > diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype > index 12fc443b9d54..1324f589f43a 100644 > --- a/arch/powerpc/platforms/Kconfig.cputype > +++ b/arch/powerpc/platforms/Kconfig.cputype > @@ -405,6 +405,16 @@ config PPC_DOORBELL > > endmenu > > +config VDSO32 > + def_bool y > + depends on PPC32 || CPU_BIG_ENDIAN > + help > + This symbol controls whether we build the 32-bit VDSO. We obviously > + want to do that if we're building a 32-bit kernel. If we're building > + a 64-bit kernel then we only want a 32-bit VDSO if we're building for > + big endian. That is because the only little endian configuration we > + support is ppc64le which is 64-bit only. Shouldn't this depend on COMPAT, and COMPAT depend on CPU_BIG_ENDIAN? -Scott