Re: [PATCH v2 08/30] Add sparc-specific parity functions

2016-04-06 Thread Zeng Zhaoxiu
在 2016年04月07日 02:44, Sam Ravnborg 写道: Hi Zeng. Use runtime patching for sparc64, lifted from hweight No errors found in patch - but a few comments. In general patch looks good. Thanks. Sparc, powerpc, and x86 are all new to me. +++ b/arch/sparc/include/asm/bitops_64.h @@ -47,6 +47,24 @@ un

Re: [PATCH v2 08/30] Add sparc-specific parity functions

2016-04-06 Thread Sam Ravnborg
Hi Zeng. > > Use runtime patching for sparc64, lifted from hweight No errors found in patch - but a few comments. In general patch looks good. > +++ b/arch/sparc/include/asm/bitops_64.h > @@ -47,6 +47,24 @@ unsigned int __arch_hweight16(unsigned int w); > unsigned int __arch_hweight8(unsigned i

[PATCH v2 08/30] Add sparc-specific parity functions

2016-04-06 Thread zengzhaoxiu
From: Zhaoxiu Zeng Use runtime patching for sparc64, lifted from hweight Signed-off-by: Zhaoxiu Zeng --- arch/sparc/include/asm/bitops_32.h | 1 + arch/sparc/include/asm/bitops_64.h | 18 arch/sparc/kernel/sparc_ksyms_64.c | 6 +++ arch/sparc/lib/Makefile| 2 +- arch/sp