From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933564AbYAaMPd (ORCPT ); Thu, 31 Jan 2008 07:15:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1765290AbYAaMPY (ORCPT ); Thu, 31 Jan 2008 07:15:24 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:46993 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1764341AbYAaMPX (ORCPT ); Thu, 31 Jan 2008 07:15:23 -0500 Date: Thu, 31 Jan 2008 13:15:05 +0100 From: Ingo Molnar To: "Huang, Ying" Cc: Ingo Molnar , "H. Peter Anvin" , Thomas Gleixner , Andi Kleen , linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/5] x86: early_ioremap_reset fix 2 Message-ID: <20080131121505.GE12571@elte.hu> References: <1201764964.12950.24.camel@caritas-dev.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1201764964.12950.24.camel@caritas-dev.intel.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Huang, Ying wrote: > - if (!*pte & _PAGE_PRESENT) { > + if (*pte & _PAGE_PRESENT) { btw., the usual form for that is pte_present(*pte). (i've fixed this up in the patch) Ingo