Commit 1175cf31 authored by dongliang.cui's avatar dongliang.cui Committed by Treehugger Robot
Browse files

UPSTREAM: exfat: using hweight instead of internal logic



Replace the internal table lookup algorithm with the hweight
library, which has instruction set acceleration capabilities.

Use it to increase the length of a single calculation of
the exfat_find_free_bitmap function to the long type.

Signed-off-by: default avatarJohn Sanpe <sanpeqf@gmail.com>
Acked-by: default avatarSungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: default avatarNamjae Jeon <linkinjeon@kernel.org>
(cherry picked from commit 74235460)

Bug: 362138008

Change-Id: I3b8567b859d02dd0d837c280014976abba084d55
Signed-off-by: default avatardongliang.cui <dongliang.cui@unisoc.com>
parent e2a390cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment