Skip to content
Unverified Commit a2693fe2 authored by Greentime Hu's avatar Greentime Hu Committed by Palmer Dabbelt
Browse files

RISC-V: Use a local variable instead of smp_processor_id()



Store the smp_processor_id() in a local variable to save some
pointer chasing.

Signed-off-by: default avatarGreentime Hu <greentime.hu@sifive.com>
Signed-off-by: default avatarAtish Patra <atish.patra@wdc.com>
Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
parent 234e9d7a
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