OSDN Git Service

sparc64: Use sparc optimized fls and __fls for T4 and above
authorVijay Kumar <vijay.ac.kumar@oracle.com>
Wed, 11 Oct 2017 18:50:06 +0000 (12:50 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Nov 2017 05:26:46 +0000 (14:26 +0900)
commit46ad8d2d22c17e2b577adec55ae87161666a3267
treedac0c0d3b741e169a4269c59ee1ef152c8ba9583
parent2b41ce5df20b698436526fcd8478094140b91706
sparc64: Use sparc optimized fls and __fls for T4 and above

For T4 and above, patch fls and __fls functions
at the boot time to use lzcnt instruction.

Signed-off-by: Vijay Kumar <vijay.ac.kumar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/head_64.S
arch/sparc/lib/NG4patch.S