Re: [uml-devel] [PATCH resend] um, hweight: Fix UML boot crash
From: Boaz Harrosh
Date: Wed Jun 09 2010 - 12:40:09 EST
On 06/09/2010 11:04 AM, Boaz Harrosh wrote:
> From: Borislav Petkov <bp@xxxxxxxxx>
>
> 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 <akpm@xxxxxxxxxxxxxxxxxxxx>
> LKML-Reference: <201005271944.09541.toralf.foerster@xxxxxx>
> Signed-off-by: Borislav Petkov <bp@xxxxxxxxx>
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 <asm-generic/bitops/arch_hweight.h>
> +
> +#endif
> -- 1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/