kolibrios-fun/drivers/video/drm/includes/asm-generic/bitops/hweight.h
Sergey Semyonov (Serge) ea3dc0b0b8 kms: pre rc9
git-svn-id: svn://kolibrios.org@1321 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-14 18:34:32 +00:00

12 lines
340 B
C

#ifndef _ASM_GENERIC_BITOPS_HWEIGHT_H_
#define _ASM_GENERIC_BITOPS_HWEIGHT_H_
#include <asm/types.h>
extern unsigned int hweight32(unsigned int w);
extern unsigned int hweight16(unsigned int w);
extern unsigned int hweight8(unsigned int w);
extern unsigned long hweight64(__u64 w);
#endif /* _ASM_GENERIC_BITOPS_HWEIGHT_H_ */