Messages in this thread | | | Date | Mon, 31 May 2010 18:29:38 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH] x86, hweight: Fix UML boot crash |
| |
From: Jeff Dike <jdike@addtoit.com> Date: Mon, May 31, 2010 at 11:56:19AM -0400
> On Mon, May 31, 2010 at 03:51:32PM +0200, Borislav Petkov wrote: > > <arch/x86/include/asm/bitops.h> includes <asm/arch_hweight.h> 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 <arch/x86/include/asm/arch_hweight.h> at some point.
-- Regards/Gruss, Boris.
Operating Systems Research Center Advanced Micro Devices, Inc.
| |