mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 22:00:53 +07:00
1527bc8b92
Rename the extisting runtime hweight() implementations to __arch_hweight(), rename the compile-time versions to __const_hweight() and then have hweight() pick between them. Suggested-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <20100318111929.GB11152@aftab> Acked-by: H. Peter Anvin <hpa@zytor.com> LKML-Reference: <1265028224.24455.154.camel@laptop> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
8 lines
215 B
C
8 lines
215 B
C
#ifndef _ASM_GENERIC_BITOPS_HWEIGHT_H_
|
|
#define _ASM_GENERIC_BITOPS_HWEIGHT_H_
|
|
|
|
#include <asm-generic/bitops/arch_hweight.h>
|
|
#include <asm-generic/bitops/const_hweight.h>
|
|
|
|
#endif /* _ASM_GENERIC_BITOPS_HWEIGHT_H_ */
|