Re: [uml-devel] [PATCH] x86, hweight: Fix UML boot crash

From: Boaz Harrosh
Date: Mon May 31 2010 - 10:25:29 EST


On 05/31/2010 04:55 PM, Toralf FÃrster wrote:
>
> Borislav Petkov wrote at 22:17:38
>> LKML-Reference: <201005271944.09541.toralf.foerster@xxxxxx>
>> Signed-off-by: Borislav Petkov <bp@xxxxxxxxx>
>> ---
>> 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
>>
> This patch does not to solve the reported issue by me.
>

Watch out. It did fix it for me but only after a deep
clean. (mrproper) Makefile does not pick up this dependency.

Also I could not use my 2.6.34 config file. I had to do
make defconfig, and then xconfig all my extra stuff. But
this is regular for any Kernel upgrade and UML.

It does fix my setup. (Wouldn't load before this)
Boaz
--
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/