From mboxrd@z Thu Jan 1 00:00:00 1970 From: Khalid Aziz Subject: Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI) Date: Mon, 7 Mar 2016 10:51:49 -0700 Message-ID: <56DDBFB5.5010203@oracle.com> References: <1456951177-23579-1-git-send-email-khalid.aziz@oracle.com> <20160305.230702.1325379875282120281.davem@davemloft.net> <56DD9949.1000106@oracle.com> <20160307.114521.1646726145228714690.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20160307.114521.1646726145228714690.davem@davemloft.net> Sender: owner-linux-mm@kvack.org To: David Miller Cc: corbet@lwn.net, akpm@linux-foundation.org, dingel@linux.vnet.ibm.com, zhenzhang.zhang@huawei.com, bob.picco@oracle.com, kirill.shutemov@linux.intel.com, aneesh.kumar@linux.vnet.ibm.com, aarcange@redhat.com, arnd@arndb.de, sparclinux@vger.kernel.org, rob.gardner@oracle.com, mhocko@suse.cz, chris.hyser@oracle.com, richard@nod.at, vbabka@suse.cz, koct9i@gmail.com, oleg@redhat.com, gthelen@google.com, jack@suse.cz, xiexiuqi@huawei.com, Vineet.Gupta1@synopsys.com, luto@kernel.org, ebiederm@xmission.com, bsegall@google.com, geert@linux-m68k.org, dave@stgolabs.net, adobriyan@gmail.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org List-Id: linux-arch.vger.kernel.org On 03/07/2016 09:45 AM, David Miller wrote: > From: Khalid Aziz > Date: Mon, 7 Mar 2016 08:07:53 -0700 > >> I can remove CONFIG_SPARC_ADI. It does mean this code will be built >> into 32-bit kernels as well but it will be inactive code. > > The code should be built only into obj-$(CONFIG_SPARC64) just like the > rest of the 64-bit specific code. I don't know why in the world you > would build it into the 32-bit kernel. > You are right. I did not understand you correctly the first time. Thanks, Khalid -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from aserp1040.oracle.com ([141.146.126.69]:23912 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751146AbcCGRwi (ORCPT ); Mon, 7 Mar 2016 12:52:38 -0500 Subject: Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI) References: <1456951177-23579-1-git-send-email-khalid.aziz@oracle.com> <20160305.230702.1325379875282120281.davem@davemloft.net> <56DD9949.1000106@oracle.com> <20160307.114521.1646726145228714690.davem@davemloft.net> From: Khalid Aziz Message-ID: <56DDBFB5.5010203@oracle.com> Date: Mon, 7 Mar 2016 10:51:49 -0700 MIME-Version: 1.0 In-Reply-To: <20160307.114521.1646726145228714690.davem@davemloft.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-arch-owner@vger.kernel.org List-ID: To: David Miller Cc: corbet@lwn.net, akpm@linux-foundation.org, dingel@linux.vnet.ibm.com, zhenzhang.zhang@huawei.com, bob.picco@oracle.com, kirill.shutemov@linux.intel.com, aneesh.kumar@linux.vnet.ibm.com, aarcange@redhat.com, arnd@arndb.de, sparclinux@vger.kernel.org, rob.gardner@oracle.com, mhocko@suse.cz, chris.hyser@oracle.com, richard@nod.at, vbabka@suse.cz, koct9i@gmail.com, oleg@redhat.com, gthelen@google.com, jack@suse.cz, xiexiuqi@huawei.com, Vineet.Gupta1@synopsys.com, luto@kernel.org, ebiederm@xmission.com, bsegall@google.com, geert@linux-m68k.org, dave@stgolabs.net, adobriyan@gmail.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org Message-ID: <20160307175149.1dfQ-YpVj_L8xBEBl0bJCVcB6hJJSY2aLxhkmKk_9I4@z> On 03/07/2016 09:45 AM, David Miller wrote: > From: Khalid Aziz > Date: Mon, 7 Mar 2016 08:07:53 -0700 > >> I can remove CONFIG_SPARC_ADI. It does mean this code will be built >> into 32-bit kernels as well but it will be inactive code. > > The code should be built only into obj-$(CONFIG_SPARC64) just like the > rest of the 64-bit specific code. I don't know why in the world you > would build it into the 32-bit kernel. > You are right. I did not understand you correctly the first time. Thanks, Khalid