summaryrefslogtreecommitdiff
path: root/fs/hfs/bfind.c
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2022-07-13 18:00:41 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2022-07-29 18:22:33 +0800
commit1aea29d7c3569e5b6c40e73c51e9f4b2142c96ef (patch)
tree2273750572cd4be482eb7268c8230a40f7e798e8 /fs/hfs/bfind.c
parent317980e6b4d03884429f2cdaf51efd28f01b71b0 (diff)
downloadlinux-1aea29d7c3569e5b6c40e73c51e9f4b2142c96ef.tar.gz
linux-1aea29d7c3569e5b6c40e73c51e9f4b2142c96ef.tar.bz2
linux-1aea29d7c3569e5b6c40e73c51e9f4b2142c96ef.zip
LoongArch: Fix shared cache size calculation
Current calculation of shared cache size is from the node (die) scope, but we hope 'lscpu' to show the shared cache size of the whole package for multi-die chips (e.g., Loongson-3C5000L, which contains 4 dies in one package). So fix it by multiplying nodes_per_package. Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'fs/hfs/bfind.c')
0 files changed, 0 insertions, 0 deletions