diff options
author | 2017-11-15 14:26:46 +0900 | |
---|---|---|
committer | 2017-11-15 14:26:46 +0900 | |
commit | a16036e9b2fbdadf44f9fbbdf95d173d3f78170b (patch) | |
tree | dac0c0d3b741e169a4269c59ee1ef152c8ba9583 /net/lapb/lapb_timer.c | |
parent | vDSO for sparc (diff) | |
parent | sparc64: Use sparc optimized fls and __fls for T4 and above (diff) | |
download | linux-dev-a16036e9b2fbdadf44f9fbbdf95d173d3f78170b.tar.xz linux-dev-a16036e9b2fbdadf44f9fbbdf95d173d3f78170b.zip |
Merge branch 'sparc64-optimized-fls'
Vijay Kumar says:
====================
sparc64: Optimize fls and __fls
SPARC provides lzcnt instruction (with VIS3) which can be used to
optimize fls, __fls and fls64 functions. For the systems that supports
lzcnt instruction, we now do boot time patching to use sparc
optimized fls, __fls and fls64 functions.
v3->v4:
- Fixed a typo.
v2->v3:
- Using ENTRY(), ENDPROC() for assembler functions.
- Removed BITS_PER_LONG from __fls.
- Using generic fls64().
- Replaced lzcnt instruction with .word directive.
v1->v2:
- Fixed delay slot issue.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions