[PATCH 1/2] sparc64: Define SPARC default fls and __fls

2017-09-27 Thread Vijay Kumar
fls and __fls will now require boot time patching on T4 and above. Redefining these functions under arc/sparc/lib. Signed-off-by: Vijay Kumar Reviewed-by: Babu Moger --- arch/sparc/include/asm/bitops_64.h |7 +- arch/sparc/lib/Makefile

[PATCH 1/2] sparc64: Define SPARC default fls and __fls

2017-09-27 Thread Vijay Kumar
fls and __fls will now require boot time patching on T4 and above. Redefining these functions under arc/sparc/lib. Signed-off-by: Vijay Kumar Reviewed-by: Babu Moger --- arch/sparc/include/asm/bitops_64.h |7 +- arch/sparc/lib/Makefile|1 + arch/sparc/lib/fls.S