]> git.baikalelectronics.ru Git - kernel.git/commit
um, hweight: Fix UML boot crash due to x86 optimized hweight
authorBorislav Petkov <bp@alien8.de>
Wed, 9 Jun 2010 08:04:16 +0000 (11:04 +0300)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 10 Jun 2010 22:24:30 +0000 (15:24 -0700)
commit874317319b189954033901b7b8ef4a5ee82cc405
tree71cf77bf125f294fb30f2ff9c7f057986aaa21e1
parent80e05600098aaf219d4bf5e96d63db7685cec298
um, hweight: Fix UML boot crash due to x86 optimized hweight

Apparently UML cannot stomach callee reg-saving trickery
introduced with e461ce4c9aae80a0f8cb974f13a6a4e77c6903a2
(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.

LKML-Reference: <201005271944.09541.toralf.foerster@gmx.de>
Signed-off-by: Borislav Petkov <bp@alien8.de>
LKML-Reference: <4C0F4B00.4090307@panasas.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/um/include/asm/arch_hweight.h [new file with mode: 0644]