arch, hweight: Fix compilation errors
authorBorislav Petkov <borislav.petkov@amd.com>
Mon, 3 May 2010 12:57:11 +0000 (14:57 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 4 May 2010 17:25:27 +0000 (10:25 -0700)
commit4677d4a53e0d565742277e8913e91c821453e63e
tree6fd374bd02605f720a77f03ee12036495796dcdd
parentd61931d89be506372d01a90d1755f6d0a9fafe2d
arch, hweight: Fix compilation errors

Fix function prototype visibility issues when compiling for non-x86
architectures. Tested with crosstool
(ftp://ftp.kernel.org/pub/tools/crosstool/) with alpha, ia64 and sparc
targets.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
LKML-Reference: <20100503130736.GD26107@aftab>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
include/asm-generic/bitops/arch_hweight.h
include/linux/bitops.h