Re: [PATCH 10/11] lib: consolidate the GENERIC_HWEIGHT symbol

2019-02-17 Thread Masahiro Yamada
On Thu, Feb 14, 2019 at 2:41 AM Christoph Hellwig wrote: > > Introduce a new ARCH_HAS_HWEIGHT symbol for alpha and ia64, I think this is really confusing. "ARCH has its own optimized hweight implementation" is not equivalent to "ARCH does not need generic hweight at all". For example,

Re: [PATCH 10/11] lib: consolidate the GENERIC_HWEIGHT symbol

2019-02-14 Thread Geert Uytterhoeven
On Thu, Feb 14, 2019 at 3:11 AM Christoph Hellwig wrote: > Introduce a new ARCH_HAS_HWEIGHT symbol for alpha and ia64, and just > default to the generic version otherwise. > > Signed-off-by: Christoph Hellwig > arch/m68k/Kconfig | 4 Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s,

[PATCH 10/11] lib: consolidate the GENERIC_HWEIGHT symbol

2019-02-13 Thread Christoph Hellwig
Introduce a new ARCH_HAS_HWEIGHT symbol for alpha and ia64, and just default to the generic version otherwise. Signed-off-by: Christoph Hellwig --- arch/alpha/Kconfig | 5 + arch/arc/Kconfig| 3 --- arch/arm/Kconfig| 4 arch/arm64/Kconfig | 3 ---