/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * */ #ifndef _ASM_ARCH_HWEIGHT_H #define _ASM_ARCH_HWEIGHT_H #ifdef ARCH_HAS_USABLE_BUILTIN_POPCOUNT #include <asm/types.h>
static inline unsigned int __arch_hweight32(unsigned int w) { return __builtin_popcount(w); }Contributors
| Person | Tokens | Prop | Commits | CommitProp | |
| david daney | david daney | 18 | 100.00% | 1 | 100.00% |
| Total | 18 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp | |
| david daney | david daney | 20 | 100.00% | 1 | 100.00% |
| Total | 20 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp | |
| david daney | david daney | 20 | 100.00% | 1 | 100.00% |
| Total | 20 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp | |
| david daney | david daney | 17 | 100.00% | 1 | 100.00% |
| Total | 17 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp | |
| david daney | david daney | 98 | 100.00% | 1 | 100.00% |
| Total | 98 | 100.00% | 1 | 100.00% |