From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757980Ab0FIQkD (ORCPT ); Wed, 9 Jun 2010 12:40:03 -0400 Received: from daytona.panasas.com ([67.152.220.89]:16475 "EHLO daytona.int.panasas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757955Ab0FIQkA (ORCPT ); Wed, 9 Jun 2010 12:40:00 -0400 Message-ID: <4C0FC3DC.9040401@panasas.com> Date: Wed, 09 Jun 2010 19:39:56 +0300 From: Boaz Harrosh User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc12 Thunderbird/3.0.4 MIME-Version: 1.0 To: Andrew Morton CC: Borislav Petkov , "H. Peter Anvin" , Geert Uytterhoeven , =?UTF-8?B?VG9yYWxmIEbDtnJzdGVy?= , uml-devel , linux-kernel Subject: Re: [uml-devel] [PATCH resend] um, hweight: Fix UML boot crash References: <4C0F4B00.4090307@panasas.com> In-Reply-To: <4C0F4B00.4090307@panasas.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Jun 2010 16:39:58.0830 (UTC) FILETIME=[663328E0:01CB07F2] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/09/2010 11:04 AM, Boaz Harrosh wrote: > From: Borislav Petkov > > Obviously UML cannot stomach callee reg-saving trickery > introduced with d61931d89be506372d01a90d1755f6d0a9fafe2d > (x86: Add optimized popcnt variants) and oopses during boot: > http://marc.info/?l=linux-kernel&m=127522065202435&w=2 > > Redirect arch_hweight.h include from the x86 portion to the generic > arch_hweight.h which is a fallback to the software hweight routines. > CC: Andrew Morton > LKML-Reference: <201005271944.09541.toralf.foerster@gmx.de> > Signed-off-by: Borislav Petkov Andrew would you please push this patch for 2.6.35-rc3 Thanks Boaz > --- > arch/um/include/asm/arch_hweight.h | 6 ++++++ > 1 files changed, 6 insertions(+), 0 deletions(-) > create mode 100644 arch/um/include/asm/arch_hweight.h > > diff --git a/arch/um/include/asm/arch_hweight.h b/arch/um/include/asm/arch_hweight.h > new file mode 100644 > index 0000000..c656cf4 > --- /dev/null > +++ b/arch/um/include/asm/arch_hweight.h > @@ -0,0 +1,6 @@ > +#ifndef _ASM_UM_HWEIGHT_H > +#define _ASM_UM_HWEIGHT_H > + > +#include > + > +#endif > -- 1.7.1