From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx200.postini.com [74.125.245.200]) by kanga.kvack.org (Postfix) with SMTP id 5EB696B0078 for ; Thu, 9 May 2013 04:15:13 -0400 (EDT) Received: by mail-we0-f170.google.com with SMTP id u54so2761379wes.1 for ; Thu, 09 May 2013 01:15:11 -0700 (PDT) Date: Thu, 9 May 2013 09:15:05 +0100 From: Steve Capper Subject: Re: [RFC PATCH v2 08/11] ARM64: mm: Swap PTE_FILE and PTE_PROT_NONE bits. Message-ID: <20130509081504.GA28545@linaro.org> References: <1368006763-30774-1-git-send-email-steve.capper@linaro.org> <1368006763-30774-9-git-send-email-steve.capper@linaro.org> <518A7A9F.9080105@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <518A7A9F.9080105@codeaurora.org> Sender: owner-linux-mm@kvack.org List-ID: To: Christopher Covington Cc: linux-mm@kvack.org, x86@kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, patches@linaro.org, Catalin Marinas , Will Deacon , Michal Hocko , Ken Chen , Mel Gorman On Wed, May 08, 2013 at 12:17:35PM -0400, Christopher Covington wrote: > Hi Steve, > > On 05/08/2013 05:52 AM, Steve Capper wrote: [...] > > > diff --git a/arch/arm64/include/asm/pgtable.h b/arch/arm64/include/asm/pgtable.h > [...] > > > @@ -306,8 +306,8 @@ extern pgd_t idmap_pg_dir[PTRS_PER_PGD]; > > > > /* > > * Encode and decode a file entry: > > - * bits 0-1: present (must be zero) > > - * bit 2: PTE_FILE > > + * bits 0 & 2: present (must be zero) > > Consider using punctuation like "bits 0, 2" here to disambiguate from the > binary and operation. > Hi Christopher, Thanks, I now have: bits 0, 2: present (must both be zero) Cheers, -- Steve -- 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