Skip to content
Commit 0cc40dac authored by jerin jacob's avatar jerin jacob Committed by Ralf Baechle
Browse files

MIPS: CMP: Fix physical core number calculation logic



The CPUNum Field in EBase register is 10bit wide, so after 1 bit right
shift, the mask value should be 0x1ff.

Signed-off-by: default avatarjerin jacob <jerinjacobk@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/4420/
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent a1226540
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment