From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757652AbYAYJBx (ORCPT ); Fri, 25 Jan 2008 04:01:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758637AbYAYJBa (ORCPT ); Fri, 25 Jan 2008 04:01:30 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:54933 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758322AbYAYJB3 (ORCPT ); Fri, 25 Jan 2008 04:01:29 -0500 Date: Fri, 25 Jan 2008 10:01:12 +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/6] x86: early_ioremap_reset fix Message-ID: <20080125090112.GC23708@elte.hu> References: <1201240498.15972.45.camel@caritas-dev.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1201240498.15972.45.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: > This patch fixes a bug of early_ioremap_reset. > > Signed-off-by: Huang Ying > > --- > arch/x86/mm/ioremap_32.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- a/arch/x86/mm/ioremap_32.c > +++ b/arch/x86/mm/ioremap_32.c > @@ -285,7 +285,7 @@ void __init early_ioremap_reset(void) > pte_t *pte; > > after_paging_init = 1; > - for (idx = FIX_BTMAP_BEGIN; idx <= FIX_BTMAP_END; idx--) { > + for (idx = FIX_BTMAP_BEGIN; idx >= FIX_BTMAP_END; idx--) { > addr = fix_to_virt(idx); thanks, applied. Ingo