From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 38C1B2C0091 for ; Wed, 13 Feb 2013 14:46:59 +1100 (EST) Message-ID: <1360727211.2035.30.camel@pasglop> Subject: Re: [PATCH 2/2] powerpc: Make context bits depend on virtual addr size. From: Benjamin Herrenschmidt To: "Aneesh Kumar K.V" Date: Wed, 13 Feb 2013 14:46:51 +1100 In-Reply-To: <87sj50kian.fsf@linux.vnet.ibm.com> References: <1360693905-23503-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <1360693905-23503-2-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <1360701185.2035.10.camel@pasglop> <87sj50kian.fsf@linux.vnet.ibm.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: linuxppc-dev@lists.ozlabs.org, paulus@samba.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2013-02-13 at 08:54 +0530, Aneesh Kumar K.V wrote: > > A compile option ? Really ? Ugh... > > I actually wanted that to be done in Kconfig.cputype, but haven't found > a nice way to do it. Considering we are switching between only two > values, I was thinking an #ifdef would work. No, we want to support all those processor types from a single kernel image. Ben.