Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753362AbZFKR1l (ORCPT ); Thu, 11 Jun 2009 13:27:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751985AbZFKR1d (ORCPT ); Thu, 11 Jun 2009 13:27:33 -0400 Received: from terminus.zytor.com ([198.137.202.10]:47224 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751849AbZFKR1c (ORCPT ); Thu, 11 Jun 2009 13:27:32 -0400 Message-ID: <4A311521.7000607@zytor.com> Date: Thu, 11 Jun 2009 07:30:57 -0700 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Thomas Gleixner CC: Andreas Herrmann , Stephen Rothwell , Ingo Molnar , Peter Zijlstra , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86: memtest: fix compile warning References: <20090611112746.802a24cb.sfr@canb.auug.org.au> <20090611102927.GE12431@alberich.amd.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 649 Lines: 23 Thomas Gleixner wrote: > > But aside of that this code is confusing. > > start_phys_aligned = ALIGN(start_phys, incr); > > Why do we have to fiddle with the alignment. Are you really seing e820 > entries which are not 8 byte aligned ? > I have personally seen those on real systems. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/