From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 31 May 2010 18:29:38 +0200 From: Borislav Petkov Subject: Re: [PATCH] x86, hweight: Fix UML boot crash Message-ID: <20100531162938.GA6574@aftab> References: <201005271944.09541.toralf.foerster@gmx.de> <20100530150214.GA1565@liondog.tnic> <201005301728.25976.toralf.foerster@gmx.de> <20100530170346.GC1565@liondog.tnic> <4C02B020.2040103@zytor.com> <20100530193956.GA2498@liondog.tnic> <20100531023212.GA22673@c-98-229-117-200.hsd1.ma.comcast.net> <20100531135132.GA4915@aftab> <20100531155619.GA29244@c-98-229-117-200.hsd1.ma.comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20100531155619.GA29244@c-98-229-117-200.hsd1.ma.comcast.net> To: Jeff Dike Cc: Borislav Petkov , "H. Peter Anvin" , Geert Uytterhoeven , Toralf =?iso-8859-1?Q?F=F6rster?= , "user-mode-linux-devel@lists.sourceforge.net" , "linux-kernel@vger.kernel.org" List-ID: From: Jeff Dike Date: Mon, May 31, 2010 at 11:56:19AM -0400 > On Mon, May 31, 2010 at 03:51:32PM +0200, Borislav Petkov wrote: > > includes which are > > the optimized variants. > > But how does UML get to arch/x86/include/asm/bitops.h in the first place? > > It must go through an arch/um/include/asm/something.h (where something > might be bitops) first, right? Right, look at one of those dependencies file (for example, arch/um/kernel/.ptrace.o.cmd) for a _very_ long inclusion chain which contains at some point. -- Regards/Gruss, Boris. Operating Systems Research Center Advanced Micro Devices, Inc.