summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-12-29 21:41:46 +0300
committerTakashi Iwai <tiwai@suse.de>2014-12-30 18:41:56 +0300
commit757b037650c9ecca79a46ab744820b1b3c1bb49d (patch)
treeddd7ee816fb028d527cdbb7a4af82786e58b5019 /sound
parentf6dbe1bee59741cd7699e7da3019e67c77d9bd6f (diff)
downloadlinux-757b037650c9ecca79a46ab744820b1b3c1bb49d.tar.xz
ALSA: pcm: Replace custom ld2 function with __fls
__fls has the same semantics as ld2, so there is no need to re-implement it. Furthermore a lot of architectures have custom implementations of __fls that are able to use special hardware instructions to compute the result. This makes the code slightly shorter and faster. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions