]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
um, hweight: Fix UML boot crash
authorBorislav Petkov <bp@alien8.de>
Sun, 30 May 2010 20:11:32 +0000 (22:11 +0200)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Mon, 21 Jun 2010 21:30:53 +0000 (14:30 -0700)
commit4b08315bdbdb302177d0ef83c20466168827e26d
treec69e6086ddd13c258eb26baf73bdc3b1bb4149eb
parente9d4c462f4e4cd35b134250d0b4d7d3dc02d7f57
um, hweight: Fix UML boot crash

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.

LKML-Reference: <201005271944.09541.toralf.foerster@gmx.de>
Signed-off-by: Borislav Petkov <bp@alien8.de>
arch/um/include/asm/arch_hweight.h [new file with mode: 0644]